• Hail, we're RedGuides. We want you to play six (yes, 6!) EverQuest characters at once. We have scripts and a friendly community to help, please join our playstyle and say hello! 👋
  • We've added LLM sections to our Terms & Rules and Resource Rules, for everyone's sanity & in-game safety.
    Read more
    a. Do not replace your voice with an LLM. This goes for your posts and your scripts. Drafting and editing with a tool is fine, but don't take you out of what you share.
    b. Do not replace your EQ character's voice with an LLM. We don't want scripts that speak over /ooc, /shout or other public channels. This has been an unwritten rule that's kept casino scripts off the site for decades, but we're now compelled to make it clear: keep automated communication private.

    Why Does RG Review Scripts?
    Nearly every LLM-written Lua script we see is making your character do impossible things, and rarely in a way that's beneficial to you. We've seen heavy server hammering, /target over impossible distances when /nav spawn would passively accomplish the same thing, a spawn search that fires 20+ times per second, and other pointless actions that are likely annoying GMs.

    You are welcome to use LLMs as a tool to structure, draft, and edit your work, but please read critically before hitting /lua run

Clicky Code Snippet for Your Macro

Maskoi

old and salty
Creator
To add this code to your macro to watch and cast clickys buffs just cut and paste the following into your macro at the appropriate places.

Add this near the top of your macro above the Sub Main. You find can find spell_routines.inc in my clicky macro post here
Rich (BB code):
#include spell_routines.inc

Add this to your variable declares area
Rich (BB code):
|----------------------------------------------------------------------------
| SUB: Clicky Declares
|----------------------------------------------------------------------------

    /declare ClickyItemUse         int outer 1
    /declare ClickyItem[8]      string outer
    /varset ClickyItem[1]        Phosphorescent Rapier of Dazzling Light
    /varset ClickyItem[2]        Cloak of Moss
    /varset ClickyItem[3]        Intruderbane Hook
    /varset ClickyItem[4]        Scorched Silk Belt
    /varset ClickyItem[5]        Lute of the Howler
    /varset ClickyItem[6]        Forgeflame Earring
    /varset ClickyItem[7]        Vermilionite Underbead
    /varset ClickyItem[8]        NULL
    /declare MobRadius            int outer 25

Add this to the spot your want your macro to check clickys
Rich (BB code):
    /call Check_Clicky

Add the subroutine to the very bottom of your macro
Rich (BB code):
|----------------------------------------------------------------------------
| SUB: Check_Clicky 
|----------------------------------------------------------------------------
Sub Check_Clicky
/declare i int local
/declare TwistOff int local
/if (!${ClickyItemUse}) /return
/if (${Me.Pet.CleanName.Equal[${Me.Name}`s familiar]}) /pet get lost
/for i 1 to ${ClickyItem.Size}
        /if (${FindItemCount[${ClickyItem[${i}]}]}<=0) /next i
        /if (${FindItem[${ClickyItem[${i}]}].Spell.Stacks[0]} && !${Me.Buff[${FindItem[${ClickyItem[${i}]}].Spell}].ID} && ${NearestSpawn[NPC].Distance}>=${MobRadius}) {
            | - Turn off bard twisting
            /if (${Me.Class.ShortName.Equal[BRD]} && ${Twist}) /multiline ; /squelch /twist off ; /varset TwistOff 1
            /target myself
            /delay 3
            /call Cast "${ClickyItem[${i}]}" item
            /echo Clicking ${ClickyItem[${i}]}
        }
    /next i
    | - Turn on bard twisting again
    /if (${TwistOff}) /squelch /twist start
/return
 
Clicky Code Snippet for Your Macro

Users who are viewing this thread

Back
Top
Cart