PartyMsgDist: Difference between revisions
Jump to navigation
Jump to search
(Add EventMacro event condition: PartyMsgDist) |
m (4epT moved page partyMsgDist to PartyMsgDist over a redirect without leaving a redirect) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Template:PartyMsgDist}} | |||
[[Category:EventMacro_Automacros]] | |||
[[Category:EventMacro_Conditions_Event]] | [[Category:EventMacro_Conditions_Event]] |
Latest revision as of 21:52, 12 September 2021
- 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