PrivMsg

From OpenKore Wiki
Revision as of 14:22, 4 July 2019 by Nipodemos (talk | contribs) (Add EventMacro event condition: PrivMsg)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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