• 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 - Adding slash commands - is there a plugin?

Drallin

Well-known member
Joined
Feb 8, 2025
RedCents
1,144¢
I'd like to add slash commands that call a character-specific function that I have in character specific macro include files. So for example, when on a ranger, typing /haste will activate marvelous visions, and when on a beastlord, it'll cast a haste spell. Similarly, /gate might go through a list of items on a melee, or just cast gate on a caster.

Is there a plugin that takes a config file to create slash commands tied to functions, or would i have to build a local plugin for myself?



Edit, adding for clarification if needed:

Currently, I load character specific include files like this:

#include ${Me.Name}${Me.Class.ShortName}Functions.inc

And inside those, I'd like to have functions that get called from slash commands, e.g., /haste might be set up to call something like:

Sub Self_Haste
/useitem "Belt of Marvelous Visions"
/return

Just not sure if there's an easy way to tie those together.
 
MQ has alias functions that might be used to do what you want, although using the same alias to do different things depending on class would at best be complicated.

here is the alias information on mq docs that nitramneb was talking about.

imo, if you're using a script you should instead use a bind.

you should bind your script main command, and then a sub command

like /guildclicky blah instead of /blah
 
MQ has alias functions that might be used to do what you want, although using the same alias to do different things depending on class would at best be complicated.
Hm, aliases might work. I was thinking about the situation where I'm running without a script and doing things manually, but instead of no script running I could probably have a mostly idle script that only takes actions when a variable is set, then the /haste alias could set a cast_haste variable, which the main loop picks up and runs the character specific haste function.

Thanks!

I'll look up the bind stuff Sic mentioned too.
 
I tend to place things like that into a ButtonMaster button, that can actually run a small Lua script to do some stuff. So if I click my gate button on my wizard, he casts secondary recall, because he is always bound somewhere else, but all other characters will do a /relocate gate command. Or my old Laurion Inn hotkey that would try to get me there various different ways depending in my current location, if I was a wizard, etc.
 
Hm, aliases might work. I was thinking about the situation where I'm running without a script and doing things manually, but instead of no script running I could probably have a mostly idle script that only takes actions when a variable is set, then the /haste alias could set a cast_haste variable, which the main loop picks up and runs the character specific haste function.

Thanks!

I'll look up the bind stuff Sic mentioned too.
That sounds like a lot of work.
/alias /haste /if (${Me.Class.ShortName.Equal[RNG]}) /cast "Marvelous Visions"
or something like that?
 
Question - Adding slash commands - is there a plugin?

Users who are viewing this thread

Back
Top
Cart