• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

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

/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