WoW:MACRO who: Difference between revisions

995 bytes added ,  15 August 2023
m
Move page script moved page MACRO who to WoW:MACRO who without leaving a redirect
(Created)
 
m (Move page script moved page MACRO who to WoW:MACRO who without leaving a redirect)
 
(4 intermediate revisions by 4 users not shown)
Line 7: Line 7:
== Aliases ==
== Aliases ==
:none
:none


== Arguments ==
== Arguments ==
:;filter : Filtering options to perform the query with. Players are queried based on name, guild name, zone, race, class, and level.
:;filter: Filtering options to perform the query with. Players are queried based on name, guild name, zone, race, class, and level.


=== Filtering ===
=== Filtering ===
Line 20: Line 19:
:r-"race"
:r-"race"
:c-"class"
:c-"class"
:s-"server"
:level
:level
:minlevel-maxlevel (all numeric queries are assumed to be level)
:minlevel-maxlevel (all numeric queries are assumed to be level)


== Examples ==
== Examples ==
Line 31: Line 30:
  /who 80 r-"Draenei" c-"Priest"
  /who 80 r-"Draenei" c-"Priest"
  /who 80 Draenei Priest
  /who 80 Draenei Priest
-- This example will return warriors in Shadowmoon Valley, as well as people with
-- "warrior" in their name or guild name. For example, maybe a pally named Warriorsbane
-- or someone in the guild "Warriors of Azeroth".
/who z-"Shadowmoon Valley" Warrior


== Notes ==
== Notes ==
:Returns up to a maximum of 49 players.
:Returns up to a maximum of 49 players.
:If given search terms are not assigned to a particular field, all fields are queried for all results, and the Intersection of all the sets are returned.
:If given search terms are not assigned to a particular field, all fields are queried for all terms, and the results are the Union of all sets returned per term, in Intersection with the results of all terms. A detailed explanation follows:
 
filter1: 80 c-"Priest"
set A = all level 80's (it is technically impossible for a person to have 80 in their name, due to naming restrictions, but if this were not the case, you'd see those too).
set B = all characters of the class Priest
result = A ∩ B
filter2: 80 Priest
set A = all level 80's
set B = all characters of the class Priest
set C = all characters named priest
set D = all characters in a guild with 'Priest' in the name
result = [A ∩ (B U C U D)]
Note that set B C and D are all created with the second term
Priest would also return all people in a zone with 'Priest' in the name, but no such zone exists.
Anonymous user