Template:PrivMsg

From OpenKore Wiki
Revision as of 05:20, 5 July 2019 by 4epT (Talk | contribs) (Created page with " <noinclude>This template describes the '''PrivMsg''' Event Conditions of the automacro eventMacros.</noinclude> ;PrivMsg :* Description: Is checked on pr...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, 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