From Wowpedia
(Redirected from API SendWho)
Jump to: navigation, search

Sends a Who request, much like using the slash command /who or entering a query in the entry field of the Who List.



string - The criteria for which you want to perform a Who query. This can be anything for which you could normally search in a Who query:
  • Any string, which will be matched against players' names, guild names, zones and levels.
  • Name (n-"<char_name>")
  • Zone (z-"<zone_name>")
  • Race (r-"<race_name>")
  • Class (c-"<class_name>")
  • Guild (g-"<guild_name>")
  • Level ranges: (<lower_limit>-<higher_limit>)

These can be combined, but no more than one of each type can be searched for at once. Note that the quotation marks around the zone, race, and class must be present. Double quotation marks are required, as single quotation marks won't work.


  • Fires WHO_LIST_UPDATE when the requested query has been processed. Note that there is a server-side cooldown; queries are not guaranteed to generate a response.


Searches for players in the level 20 to 40 range.


Searches for Night Elf Rogues in Teldrassil, of levels 10-15, with the string "bob" in their (guild) names.

C_FriendList.SendWho('bob z-"Teldrassil" r-"Night Elf" c-"Rogue" 10-15')

Patch changes

See also

External links