Difference between revisions of "PubMsg"

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

Revision as of 14:04, 4 July 2019

  • Is a condition that checks public messages, is true when the message matches the given regex.
Syntax:
PubMsg <Regex>
Example:
PubMsg /(buff|bless)/
Set variables:
$.PubMsgLastName => Saves the name of the player which message activated PubMsg
$.PubMsgLastMsg => Saves the message which activated PubMsg