Template:PartyMsgDist

From OpenKore Wiki
Revision as of 09:27, 5 July 2019 by 4epT (talk | contribs) (Created page with " <noinclude>This template describes the '''PartyMsgDist''' Event Conditions of the automacro eventMacros.</noinclude> ;PartyMsgDist :* Description: Is che...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This template describes the PartyMsgDist Event Conditions of the automacro eventMacros.
PartyMsgDist
  • Description: Is checked on party messages, is true when the message matches the given regex and the distance match the given condition.
Syntax:
PartyMsgDist <Regex> <Math condition operators>
Example:
PartyMsgDist /(buff|bless)/ < 5
Set variables:
$.PartyMsgDistLastName => Saves the name of the player which message activated PartyMsgDist
$.PartyMsgDistLastMsg => Saves the message which activated PartyMsgDist
$.PartyMsgDistLastPos => Saves the position of the player which message activated PartyMsgDist
$.PartyMsgDistLastDist => Saves the distance to the player which message activated PartyMsgDist
$.PartyMsgDistLastID => Saves the openkore ID of the player which message activated PartyMsgDist