TLO:Zone

From the wonderful RedGuides Wiki

Used to find information about a particular zone.

This TLO is added by MacroQuest

Forms

Type Member Description
currentzone Zone Retrieves the current zone information
zone Zone[#] Retrieves information about a zone by zone ID
Zone[shortname] Retrieves information about a zone by short name

Access to Types

Type Description
currentzone Contains data about the current zone. Inherits zone.
zone Contains information related to the specified zone

Examples

/echo ${Zone.Type} Returns an integer representing the zone you are currently in.

  /echo ${Zone.Indoor}

Returns TRUE if indoors, FALSE if not.

  /echo ${Zone[zonename].ID}

Returns the ID of zonename, even if you aren't in the zone.

  /echo ${Zone[zoneid].ShortName}

Returns the short name of the zone with ID zoneid.

See also