_server.getCurrentZone()

Availability:

SmartFoxServer PRO 1.2.1

Usage:

_server.getCurrentZone()

Description:

Returns the Zone object where the extension is running.

Properties:

none    

Returns:

Returns the Zone object where the extension is running.

Example:

/*
* Get the Zone object
*/

var zone = _server.getCurrentZone()
trace("Extension is running in zone: " + zone.getName())
trace("Users in this zone: " + zone.getUserCount())

See also: