• You've discovered RedGuides 📕 an EverQuest multi-boxing community 🛡️🧙🗡️. We want you to play several EQ characters at once, come join us and say hello! 👋
  • IS THIS SITE UGLY? Change the look. To dismiss this notice, click the X --->

Can someone give me a definition of what these do in a macro? (1 Viewer)

nijhal

Member
Joined
Feb 22, 2006
RedCents
10¢
I see this all the time and even use it myself in events, however this is what I use all the time

#event Blah #*#Your Virtue spell has worn off of#*#

#*# is what I always use, however I notice in alot of other macros there is...

#1#
#2#

ect ect

Can someone tell me what this means and what exactly they are defining?

I would sure like to know, as I might be able to make macros better or somehow understand writing them alot more.

N
 
Last edited:
You can use subs to parse specific phrases out of the events in order to use them in macros. IE, if you want a bot to cast a certain spell, and you send it a tell with a code word and the spell name, parse the spell name out.
 
Here is a break down as you requested ....

#event SomeSub "#0# tells #*#, 'Hello there #1#.'"
Sub Event_SomeSub(string who, string hailed)
${who} will be set to #0#
${hailed} will be set to #1#
#*# is just a placeholder for any text wether its 1 character or 50 characters.... This is not saved to a variable.

Samples that will trigger this event:
nijhal tells you, 'Hello there thez.'
nijhal tells the group, 'Hello there thez.'
nijhal tells the guild, 'Hello there thez.'
nijhal tells somechannel:1, 'Hello there thez.'

In each of these cases #0# = nijhal, #1# = thez
In case 1 "you" = #*#
In case 2 "the group" = #*#
In case 3 "the guild" = #*#
In case 4 "somechannel:1" = #*#

Also something to note... In a case where there is no #0# in the #event line it sets the entireline to #0# (or Param0). This is almost never used however and in 99% of its uses in macros its a wasted variable.

#event SomeSub2 "#1# tells #*#, 'Hello there #2#.'"
Sub Event_SomeSub2(string line, string who, string hailed)
nijhal tells you, 'Hello there thez.'
#0# (${line}) = "nijhal tells you, 'Hello there thez.'"
#1# (${who}) = nijhal
#2# (${hailed}) = thez
 
Can someone give me a definition of what these do in a macro?

Users who are viewing this thread

Back
Top