Difference between revisions of "LocalMsg"

From OpenKore Wiki
Jump to navigation Jump to search
(Add EventMacro event condition: LocalMsg)
 
Line 1: Line 1:
Is checked on local broadcast messages, is true when the message matches the given regex.
+
{{Template:LocalMsg}}
  
: Syntax:
+
[[Category:EventMacro_Automacros]]
LocalMsg <[[EventMacro#Regex|Regex]]>
 
 
 
: Example:
 
LocalMsg /airship is arriving/
 
 
 
: Set variables:
 
$.LocalMsgLastMsg => Saves the message which activated LocalMsg
 
 
[[Category:EventMacro_Conditions_Event]]
 
[[Category:EventMacro_Conditions_Event]]

Revision as of 09:57, 5 July 2019

LocalMsg
  • Description: Is checked on local broadcast messages, is true when the message matches the given regex.
Syntax:
LocalMsg <Regex>
Example:
LocalMsg /airship is arriving/
Set variables:
$.LocalMsgLastMsg => Saves the message which activated LocalMsg