onUserLeaveRoom()
Availability:
SmartFoxServer Lite / Basic / Pro
Usage:
smartFox.onUserLeaveRoom(roomId <integer>, userId <integer>, userName <String>)
Description:
The event is fired when a user leaves the current room.
Parameters:
roomId | the id of the room where the event was fired | |
userId | the id of the user that left the room | |
userName | the name of the that user left the room |
Returns:
nothing
Example:
on onUserLeaveRoom me, roomId, userId, userName put("So long, " & userName) end
See also: