Returns information about a character in the Who system query results


See also Social functions.

Signature:

name, guild, level, race, class, zone, classFileName, sex = GetWhoInfo(index)

Arguments:

  • index - Index of an entry in the Who system query results (between 1 and GetNumWhoResults()) (number)

Returns:

  • name - Name of the character (string)
  • guild - Name of the character's guild (string)
  • level - Level of the character (number)
  • race - Localized name of the character's race (string)
  • class - Localized name of the character's class (string)
  • zone - Name of the zone in which the character was located when the query was performed (string)
  • classFileName - A non-localized token representing the character's class (string)
  • sex - An integer indicating the player's sex (number)
    • 2 - male
    • 3 - female