• 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

User entered commands that control macros ??

Druid

Member
I want to make a macro that will be responsive to what I type in a message box. It can be in the MQ box, the group box, and be a '/' command or not. Whatever works.

Specifically, I will be having ClericToon and BardToon in a group. The bard will be singing selos and following the cleric.

I want to use a series of /moveto's in the macro that i'll run in ClericToon.
My experience has been that /moveto is unreliable or sometimes gets hung up , needs to be reset etc. .... so, I want the macro to go to the first destination when I type '1'. And the second when I type '2', and etc.

How do I do that??

TIA
 
I'm having a problem with the events....

at the top I have:

Rich (BB code):
#Event Loc1 "#*#a#*#"
and I've tried
Rich (BB code):
#Event Loc1 "a"
and then later in the macro I have:

Rich (BB code):
Sub Event_Loc1

/moveto 100 100
/gsay hello

/return

but it doesn't execute when I type 'a' {+ return} in the group (or any other) window.


I know I must be doing something wrong
 
[I'm having a problem with the events....

at the top I have:

Rich (BB code):
#Event Loc1 "#*#a#*#"
and I've tried
Rich (BB code):
#Event Loc1 "a"



You do realize that these events would trigger if someone said, "want to buy a monkey" or "hey I need a Temp and SoW, plz" or anything with "a" in it.
 
The reason /moveto is unreliable for people is exactly the reason in one of these posts....
Rich (BB code):
Sub Event_Loc1
 
/moveto 100 100
/gsay hello
 
/return
the actual code should have been
Rich (BB code):
Sub Event_Loc1
 
/moveto 100 100
/delay 60s ${Math.Distance[100,100]}<=5
/gsay hello
 
/return
The reason is that even though it is a /command it uses a plugin to do it which has a different parser than the macro parser in MQ2. As such the plugin will be doing its thing while the macro keeps trying to do whatever you tell it to. Hence the delay until you're within 5 units.

As for your events try something like
Rich (BB code):
#event Loc1 "#1# tells you, '1'#*#"
or if you're doing it on the cleric...
do em with /echo 1
/echo 2, etc
Rich (BB code):
#event Loc1 "[MQ2] 1"
 
HELP.. this is the whole macro. It doesn't work...
I type >a< into the group window
It echos back "You tell your party, 'a'"

and then nothing

Rich (BB code):
#turbo

#Event Loc1 "#*#You tell your party, 'a'#*#"

Sub Main

:Loop
/call GMCheck
/delay 5s

/goto :Loop
/return



Sub Event_Loc1
/gsay hello
/return


Sub GMCheck
/if (${Spawn[gm].ID}) {
	/beep
	/beep
	/beep
	/echo GM has entered the zone!
	/keypress forward
	/keypress back
}
/return
 
User entered commands that control macros ??

Users who are viewing this thread

Back
Top
Cart