Difference between revisions of "PrivMsg"

From OpenKore Wiki
Jump to navigation Jump to search
(Add EventMacro event condition: PrivMsg)
(No difference)

Revision as of 14:22, 4 July 2019

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