Open main menu
Home
Random
Log in
Settings
About AddOn Studio
Disclaimers
AddOn Studio
Search
Editing
WoW:API SendWho
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{wowapi}} Sends a [[Who List|Who request]], much like using the [[Slash Command|slash command]] ''/who'' or entering a query in the entry field of the [[Who List]]. <pre>SendWho(filter)</pre> ---- '''''Arguments''''' : (String filter) : '''filter''' :: The critera for which you want to perform a [[Who List#Who Query Entry Field|Who query]], surrounded by quotation marks. This can be anything for which you could normally search in a Who query: ::* [[Name]] (minimum of 3 characters; string can appear anywhere in the name) ::* [[Name]] (''n-\"<char_name>\"'') ::* [[Zone]] (''z-\"<zone_name>\"'') ::* [[Race]] (''r-\"<race_name>\"'') ::* [[Class]] (''c-\"<class_name>\"'') ::* [[Guild]] (''g-\"<guild_name>\"'') ::* [[Level]] (''<lower_limit>-<higher_limit>'' or ''<single_level>'') :: 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, and they must be escaped (\"). :: None of these are ''required''; you may send a blank query: ::: '''/script SendWho("");''' :: This returns up to 50 apparently-random players, throughout the world, as if you had simply typed "/who" into the [[Chat|chat frame]]. (The quotation marks '''must''' be present, even if you are not submitting any criteria!) ---- '''''Returns''''' : SendWho appears to always return ''nil''. ---- '''''Example''''' <pre>SendWho('bob z-"Teldrassil" r-"Night Elf" c-"Rogue" 10-15');</pre> '''''Result''''' : Searches for Night Elf Rogues in Teldrassil, of levels 10-15, with the string "bob" in their names.
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Apinav
(
edit
)
Template:Editlink
(
edit
)
Template:Tocright
(
edit
)
Template:Wowapi
(
edit
)