→ WoW API
- (String filter)
- The critera for which you want to perform a Who query, surrounded by quotation marks. This can be anything for which you could normally search in a Who query:
- 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 frame. (The quotation marks must be present, even if you are not submitting any criteria!)
- SendWho appears to always return nil.
SendWho('bob z-"Teldrassil" r-"Night Elf" c-"Rogue" 10-15');
- Searches for Night Elf Rogues in Teldrassil, of levels 10-15, with the string "bob" in their names.