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

Drallin

Well-known member
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