Difference between revisions of "LocalMsg"

From OpenKore Wiki
Jump to: navigation, 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]]

Latest revision as of 05: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