NpcMsg

From OpenKore Wiki
Revision as of 14:55, 4 July 2019 by Nipodemos (talk | contribs) (Add EventMacro event condition: NpcMsg)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Is checked on npc conversation messages, is true when the message matches the given regex.

Syntax:
NpcMsg <Regex>
Example:
NpcMsg /your return point was saved/
Set variables:
$.NpcMsgLastName => Saves the name of the npc which message activated NpcMsg
$.NpcMsgLastMsg => Saves the message which activated NpcMsg