onBuddyList()
Availability:
SmartFoxServer Basic / Pro
Usage:
smartFox.onBuddyList(list <propList>)
Description:
The event is fired when the buddy list for the current user is loaded from the server using the loadBuddyList() method.
Parameters:
list | a list of propertylists representing the buddyList |
id | buddy id | |
name | buddy name | |
isOnline | a flag. True if the buddy is currently onlie | |
variables | an propertylist with extra properties of the buddy |
Returns:
nothing
Example:
on onBuddyList me, list repeat with i=1 to list.count name=list[i][#name] status=list[i][#status] put "Buddy " & name & " is currently " & status end repeat end
See also:
onBuddyListError(), onBuddyListUpdate(), onBuddyRoom()