Difference between revisions of "PartyMsg"

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

Latest revision as of 09:26, 5 July 2019

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