Difference between revisions of "PrivMsg"

From OpenKore Wiki
Jump to navigation Jump to search
m (4epT moved page privMsg to PrivMsg over a redirect without leaving a redirect)
 
(One intermediate revision by one other user not shown)
(No difference)

Latest revision as of 21:53, 12 September 2021

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