Template:ChatRoomNear

From OpenKore Wiki
Revision as of 20:45, 4 July 2019 by 4epT (talk | contribs) (Created page with " <noinclude>This template describes the '''ChatRoomNear''' state Conditions of the automacro eventMacros.</noinclude> ;ChatRoomNear :* Description: Checks...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This template describes the ChatRoomNear state Conditions of the automacro eventMacros.
ChatRoomNear
  • Description: Checks if there is a npc near which name matches the given regex.
Syntax:
NpcNear <Regex>
Example:
NpcNear /kafra/
NpcNear /special agent/
Set variables:
$.ChatRoomNearLastID => Saves the ID of the last chat room that made ChatRoomNear become true
$.ChatRoomNearLastOwnerID => Saves the ID of the owner of the last chat room that made ChatRoomNear become true
$.ChatRoomNearLastOwnerName => Saves the name of the owner of the last chat room that made ChatRoomNear become true
$.ChatRoomNearLastTitle => Saves the title of the last chat room that made ChatRoomNear become true