GetZoneData
A value stored on a zone with SetZoneData.
Syntax
Section titled “Syntax”GetZoneData(id, key)| Parameter | Type | |
|---|---|---|
id |
number | the zone |
key |
string | the key |
Returns
Section titled “Returns”any - the value; nil when unset or no such zone
Example
Section titled “Example”if GetZoneData(zone, "safe") then return false endSee also
Section titled “See also”SetZoneData · the Zones group of the index
