KwPlayer.GetFriendList

Returns a table with the friends of the current user.

Returns

 * friendlist
 * table - A table with names.

Example
local tbl = kwPlayer.GetFriendList

if not table.isempty(tbl) then DEFAULT_CHAT_FRAME:AddMessage(tbl[1]) end