Returns information about a character on the player's friends list
See also Social functions.
Signature:
name,
level,
class,
area,
connected,
status,
note,
RAF
=
GetFriendInfo(index)
Arguments:
index
- Index of a character in the Friends list (between 1 andGetNumFriends()
) (number
)
Returns:
name
- Name of the friend (string
)level
- Character level of the friend, if online; otherwise 0 (number
)class
- Localized name of the friend's class, if online; otherwiseUNKNOWN
(string
)area
- Name of the zone in which the friend is located, if online; otherwiseUNKNOWN
(string
)connected
- 1 if the friend is online; otherwise nil (1nil
)status
- A label indicating the friend's status ("<AFK>"
or"<DND>"
), or the empty string (""
) if not applicable (string
)note
- Note text associated with the friend (string
)RAF
- 1 if the friend's account is linked to the player's via the Recruit-A-Friend program; otherwise nil (1nil
)