NpcMsgName: Difference between revisions
Jump to navigation
Jump to search
m (Conversion script moved page NpcMsgName to npcMsgName: Converting page titles to lowercase) |
m (4epT moved page npcMsgName to NpcMsgName over a redirect without leaving a redirect) |
(No difference)
|
Latest revision as of 21:50, 12 September 2021
- NpcMsgName
-
- Description: Is checked on npc conversation messages, is true when the message matches the given regex and the name of the npc which sent it also matches it's given regex.
- Syntax:
NpcMsgName <Regex> <Regex>
- The first regex is for the message, the second one is for the npc name
- Example:
NpcMsgName /You don't have zeny/ /kafra/
- Set variables:
$.NpcMsgNameLastName => Saves the name of the npc which message activated NpcMsgName $.NpcMsgNameLastMsg => Saves the message which activated NpcMsgName