Difference between revisions of "GuildMsg"

From OpenKore Wiki
Jump to navigation Jump to search
(Add EventMacro event condition: GuildMsg)
 
Line 1: Line 1:
Is checked on guild messages, is true when the message matches the given regex.
+
{{Template:GuildMsg}}
  
: Syntax:
+
[[Category:EventMacro_Automacros]]
GuildMsg <[[EventMacro#Regex|Regex]]>
 
 
 
: Example:
 
GuildMsg /(buff|bless)/
 
 
 
: Set variables:
 
$.GuildMsgLastName => Saves the name of the player which message activated GuildMsg
 
$.GuildMsgLastMsg => Saves the message which activated GuildMsg
 
 
[[Category:EventMacro_Conditions_Event]]
 
[[Category:EventMacro_Conditions_Event]]

Revision as of 09:31, 5 July 2019

GuildMsg
  • Description: Is checked on guild messages, is true when the message matches the given regex.
Syntax:
GuildMsg <Regex>
Example:
GuildMsg /(buff|bless)/
Set variables:
$.GuildMsgLastName => Saves the name of the player which message activated GuildMsg
$.GuildMsgLastMsg => Saves the message which activated GuildMsg