• 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

Checking for text

Druid

Member
How do I check for text messages? Especially msgs coming from my own macro?

I'm running a macro to kill mobs and retarget.
When it runs out, I get:

"There are no spawns...." in the MQ window.

Can I check for that?
 
I have not been able to get this to check for text in the MQ window...

i have:

#Event subname "#*#There are no spawns#*#"

.
.
.
sub subname
/beep
/return

Have also tried

#Event subname "#*There are no spawns*#"
#Event subname "#There are no spawns#"
#Event subname "There are no spawns"

None of them work.

help!
 
You have to do "sub event_subname".

You also have to add the line "/doevents" into your main loop, because that is the command for MQ to check which chat things have happened.
 
Have the '/doevents'
I tried changing the name of the sub as you suggested.
And I tried the change to #Event line, putting in [MQ2] and [MQ]

Still doesn't work.


What's the deal here?
Anbody checking for text in the MQ window???
 
2 ideas

First if it is something coming from your own macro you can just send info in /tell to get it to show up in regular chat windows.

/echo I need something
/tell Druid I need something

I have also found adding these at the beginning of my macros helps with picking up events that come from my macros, especially from other toon's running bot macros in same group.

#chat group
#chat tell
#chat chat
#chat say
 
Last edited:
ok.. the goal is to stop the macro when i've run out of targets.
So far, the only way I've discovered is to look for "There are no spawns" in the MQ window, but I'm not married to that. That's the beginning of "There are no spawns in radius 150 ... blah blah"

I'll take ANY way that ends the macro, however

Macro currently reads:
but the event is never fired off

Rich (BB code):
#turbo  

#Event NoMobs "#*#There are no spawns#*#" 
  
Sub Main  
:begin  
/call GMcheck
/twist  6 2 3 6 4 5
/bandolier activate drum
/delay 5
   
:loopstart 

/call GMcheck 
/doevents 
/if (${Target.ID}==FALSE) /tar NPC radius 150 
/delay 10  
/goto :loopstart  
/return  

  
 Sub GMcheck  
 /if (${Spawn[gm].ID}) {  
   /echo Gm detected  
   /beep 
   /beep 
   /beep 
   /delay 10 
 }  
 /return  
  
Sub NoMobs
	/beep
	/beep

/return
 
Checking for text

Users who are viewing this thread

Back
Top
Cart