• 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

stopping a macro on a tell

Smileyjoe72

New member
Joined
Sep 22, 2005
RedCents
Hey, I can usually find the answers to my macro writing questions with a quick look around...but i couldn't quite figure out how to add a command to a macro to make it stop if it recieves a tell or maybe a certain tell. i think it would be helpful since a lot of the time if i'm caught running any sort of macro people send a tell first asking, for example, if everything is okay. i was wondering how i could get a mac to either stop right when it recieves a tell, or maybe just not loop after it finishes that cycle. Not possitive my question is clear, but if anyone could provide insight that would be awesome. thanks!
 
Try using an event like this:

Rich (BB code):
#Event   EndMac      "#*#tells you#*#"
Sub Event_EndMac
   /echo Recieved a /tell, Ending Macro!
   /endmac
/return
 
here is what i use

#chat tell

Sub Event_Chat(string ChatType,string Sender,string ChatText)
/mqlog ${ChatType}: ${Sender} tells you: ${ChatText}


/if (${ChatText.Equal["TEXT HERE"]}) {
/delay 1s
/endmac
}
 
shawnb88 said:
here is what i use

Rich (BB code):
#chat tell

Sub Event_Chat(string ChatType,string Sender,string ChatText)
   /mqlog ${ChatType}: ${Sender} tells you: ${ChatText}


/if (${ChatText.Equal["TEXT HERE"]}) {
/delay 1s
/endmac
}


Same thing can be done with the version I posted like so:

Rich (BB code):
#Event   EndMac      "#*#Soandso tells you, INSERT TEXT HERE#*#"
Sub Event_EndMac
   /echo Recieved a /tell, Ending Macro!
   /endmac
/return

So it's only a choice if you like strings or events.
 
stopping a macro on a tell

Users who are viewing this thread

Back
Top
Cart