getBuddyList()

Availability:

SmartFoxServer Basic / Pro

Usage:

smartFox.getBuddyList()

Description:

A list containing a propertylist representing each buddy in the client's buddy list.
Each entry in the list is a propertylist with the following properties:

id     user Id
name   buddy name
isOnline   true if the buddy is currently online
variables   an object with extra properties of the buddy

Parameters:

none      

Returns:

Returns a list of buddies. Each buddy is represtented as a propertylist.

Example:

 buddyList = smartFox.getBuddyList()
 repeat with i=1 to buddyList.count
	-- put buddy variables
	put "Buddy name:" & buddyList[i].name & "   has variables:" & buddyList[i].variables
 end repeat

See also:

onBuddyList(), onBuddyListUpdate()