_server.addModerator()

Availability:

SmartFoxServer PRO 1.6.3

Usage:

_server.addModerator(zoneName, modName, modPass)

Description:

Adds a moderator user at runtime.

Properties:

zoneName   The name of the Zone where the moderator should be added.
modName   The name of the moderator user
modPass   The password for the moderator user

Returns:

nothing.

Example:

/*
* Adds a new moderator for Zone "Test"
*/

_server.addModerator("Test", "Lapo", "LapoPass")

See also:

removeModerator