Difference between revisions of "BusMsg"

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

Latest revision as of 05:58, 5 July 2019

BusMsg
  • Description: Is checked on bus system messages, is true when the message matches the given regex.
Syntax:
BusMsg <Regex>
Example:
BusMsg /gm near/
Set variables:
$.BusMsgLastMsg => Saves the message which activated BusMsg