• 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

Question - Is there a way to empty a spell gem?

Saetun

Active member
Just wondering if anyone is willing to share method to clear a spell gem in a macro and leave it empty.
 
/notify CastSpellWnd CSPW_Spell# rightmouseup

where # is the spell gem -1 that you want to clear.

IE: If I want to clear Gem 1
/notify CastSpellWnd CSPW_Spell0 rightmouseup

Likewise, if I want to clear gem 12
/notify CastSpellWnd CSPW_Spell11 rightmouseup

Spellbar must be visible for this method to work.
 
/notify CastSpellWnd CSPW_Spell## rightmouseup


where ## is 0 to 12, corresponding to gem 1 to 13

also chats way is bad mine is better :P
 
Code:
Sub ClearGem(int what)
    /if (${what} < 0 || ${what} > 12) /return
    /if (${Me.Gem[${Math.Calc[${what}+1].Int}].ID}) {
        /notify CastSpellWnd CSPW_Spell${what} rightmouseup
    }
/return

Can try this as a sub routine and /call ClearGem 0

The sub should handle any gem from 1-13 but not rightclick on a gem that is already empty

Could also set it up to call the clear to the gem you want to clear exactly. using math.calc for the notify instead of the gem check for an ID.
 
Question - Is there a way to empty a spell gem?

Users who are viewing this thread

Back
Top
Cart