Difference between revisions of "Template:ChatRoomNear"

From OpenKore Wiki
Jump to navigation Jump to search
(Created page with " <noinclude>This template describes the '''ChatRoomNear''' state Conditions of the automacro eventMacros.</noinclude> ;ChatRoomNear :* Description: Checks...")
 
(No difference)

Latest revision as of 20:45, 4 July 2019

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