onRoomAdded()

Availability:

SmartFoxServer Lite / Basic / Pro

Usage:

smartFox.onRoomAdded(roomObj <propList>)

Description:

The event is fired when a new room was created in the current zone.

Check the Room Properties for more info on the objects returned.

Parameters:

roomObj   the propertylist describing the new room

Returns:

nothing

Example:

smartFox.onRoomAdded me, roomObj
	put("A new room was created: " & roomObj.name) 
end

See also:

onRoomDeleted()