Help

JS-ZONE

For immortals Also: JAVASCRIPT-ZONE

The Zone object represents zones.

Properties:

shortDesc           The name of this zone.
inWorld             World object that this zone is in (see JS-WORLD).

Methods:

isActive()          Returns true if this zone has not been deleted.
clouds()            Returns one of "clear", "cloudy", "drizzling", "raining",
                    "downpour", "thunderstorm", "hail", "flurries", "snowing",
                    or "blizzard" depending on the weather.
winds()             Returns one of "calm", "breeze", "windy", or "gale"
                    depending on the weather.
humidity()          Returns the current humidity.
temperature()       Returns the current temperature.
pressure()          Returns the current pressure.
isRaining()         Returns true if it is raining.
isSeasonal()        Returns true if this zone has seasons.
hasPlayers()        Returns true if the zone has players in it.
msg( string )       Sends a message to players in this zone.  See
                    JS-MSG for more information.
randomPlayer()      This returns a player in this zone at random or null if the
                    zone is empty of players.
visitPlayers( f )   Applies the passed in function or array to all of the players
                    in this zone.  See JS-VISIT for more information.
toString()          Returns the name of the zone.
valueOf()           Returns the name of the zone.