Requests a list of characters meeting given search criteria from the server. Text in the query will match against any of the six searchable fields unless one of the specifiers below is used; multiple specifiers can be used in one query. Queries are case insensitive.
n-"name"
- Search for characters whose name containsname
c-"class"
- Search for characters whose class name containsclass
g-"guild"
- Search for characters in guilds whose name containsguild
r-"race"
- Search for characters whose race name containsrace
z-"zone"
- Search for characters in zones whose name containszone
X
- Search for characters of levelX
X-
- Search for characters of levelX
or higher-X
- Search for characters of levelX
or lowerX-Y
- Search for characters between levelsX
andY
(inclusive)
Results are not available immediately; the CHAT_MSG_SYSTEM
or WHO_LIST_UPDATE
event fires when data is available, as determined by the SetWhoToUI()
function.
See also Social functions.
Signature:
SendWho("filter")
Arguments:
filter
- A Who system search query (cannot be nil; use the empty string""
to specify a blank query) (string
)
Examples:
-- Search for human warriors named Donald in Elwynn Forest SendWho('donald z-"elwynn" r-"human" c-"warrior"')