Difference between revisions of "LocalMsg"

From OpenKore Wiki
Jump to navigation Jump to search
(Add EventMacro event condition: LocalMsg)
 
m (4epT moved page localMsg to LocalMsg over a redirect without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
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 21:47, 12 September 2021

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