onBuddyRoom()
Availability:
SmartFoxServer Basic / Pro
Usage:
smartFox.onBuddyRoom(idList <list>)
Description:
The event is fired in response to a getBuddyRoom() request. The server responds sending the room id(s) where the user is currently present.
Parameters:
idList | A list containing the id(s) of the rooms in which the user is currently logged in. If you don't allow users to be present in more than one room at the same time you will receive only one Room-ID. |
Returns:
nothing
Example:
on onBuddyListRoom me, idList // Join the buddy in his room smartFox.join(idList[1]) end
See also:
onBuddyList(), onBuddyListUpdate(), onBuddyListError()