• 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 - How to convert this to lua?

Rare Spawn

Well-known member
Joined
Oct 10, 2022
RedCents
3,282¢
Heres is a macro command I want to convert to Lua.
Already have aliases in the MacroQuest.ini for /leapwar, /leapclr etc etc

[CODE title="MQ command"]
/docommand[/URL] /leap$\{Me.Class.ShortName}
[/CODE]

I suspect its not this easy because Visual Code is complaining bout the \{.
[CODE lang="Lua" title="Suspect Code"]
mq.cmd('/docommand /leap$\{Me.Class.ShortName}')
[/CODE]
 
Oops I neglected a key detail, I need to blast this to a whole group. So I need the peers to process their own Shortname.

Code:
mq.cmd('/dggz /docommand /leap$\{Me.Class.ShortName}')
 
Question - How to convert this to lua?

Users who are viewing this thread

Back
Top
Cart