• 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 Macro

Maskoi

old and salty
Creator
This was a quick macro I wrote for a friend who just needed a macro to check and keep his clicky buffs up.

Rich (BB code):
| Clicky.Mac by Maskoi v 1.0 9/18/2010
| Requires spell_routines.inc
| Add your clickies and mob check radius then /mac clicky
| This macro made for www.Redguides.com/www.NotAddicted.com
| Don't steal it or we'll punch your fase!

#include spell_routines.inc

Sub Main

|----------------------------------------------------------------------------
| 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

    :mainloop
    /if (${Me.Stunned} || ${Me.Ducking} || ${Me.Moving} || ${Me.Invis}) /goto :mainloop
    
    /if (${Window[MerchantWnd]} || ${Window[TradeWnd]} || ${Window[GiveWnd]} || ${Window[LootWnd]} || ${Window[SpellBookWnd]} || ${Window[BigBankWnd]} || ${Window[LootWnd]} || ${Window[BankWnd]} || ${Window[TributeMasterWnd]} || ${Window[GuildTributeMasterWnd]}) {
        /delay 2
        /goto :mainloop
    }
    
    /call Check_Clicky
    
    /goto :mainloop
/return

|----------------------------------------------------------------------------
| 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 Macro

Users who are viewing this thread

Back
Top
Cart