Returns information about a character on the player's friends list

See also Social functions.


name, level, class, area, connected, status, note, RAF = GetFriendInfo(index)


  • index - Index of a character in the Friends list (between 1 and GetNumFriends()) (number)


  • 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; otherwise UNKNOWN (string)
  • area - Name of the zone in which the friend is located, if online; otherwise UNKNOWN (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)