Template:PrivMsg

From OpenKore Wiki
Jump to navigation Jump to search
This template describes the PrivMsg Event Conditions of the automacro eventMacros.
PrivMsg
  • Description: Is checked on private messages, is true when the message matches the given regex.
Syntax:
PrivMsg <Regex>
Example:
PrivMsg /(buff|bless)/
Set variables:
$.PrivMsgLastName => Saves the name of the player which message activated PrivMsg
$.PrivMsgLastMsg => Saves the message which activated PrivMsg