• 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

Checking for text

Druid

Member
Joined
May 23, 2005
RedCents
70¢
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?
 
With events in your macro.

#Event whatever "#*#text here#*#"

Then make a Sub

Sub whatever
then put what you want to happen whether it be a delay or for it to stop or whatever.
 
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:
Ohhhh.
Rich (BB code):
#Event subname "#*There are no spawns*#"
should be:
Rich (BB code):
#Event subname "#*#There are no spawns#*#"
 
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