ChatRoomNear: Difference between revisions

From OpenKore Wiki
Jump to navigation Jump to search
(Created page with "{{Template:ChatRoomNear}} Category:EventMacro_Automacros Category:EventMacro_Conditions_State")
 
m (Conversion script moved page ChatRoomNear to chatRoomNear: Converting page titles to lowercase)
(No difference)

Revision as of 22:35, 26 April 2021

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