For both the masks and the options (and thus for all flags) case is NOT
significative (so "/who <any> o" is exactly the same as "/who <ANY> O".
-The "options2" part can be as follows:
+The "options" part can be as follows:
[<flags>][%[<fields>[,<querytype>]]]
i Numeric IP (the unresolved host)
s Servername (the canonic name of the server the guy is on)
r Info text (formerly "Realname")
+ a Account name
If no field-matching flags are specified they default to what old servers
used to do: nuhsr (= everything except the numeric IP)
User mode matching flags (specifying one of these means that only clients
with that umode are considered, what is not specified is always matched):
+ d Join-delayed channel members
o Irc operator
[In the future more flags will be supported, basically all
usermodes plus the +/- specificators to revert the filtering]
s : Include server name
t : Include the querytype in the reply
u : Include userID with eventual ~
+ a : Include account name
+ o : Include oplevel (shows 999 to users without ops in the channel)
And the ,<querytype> final option can be used to specify what you want the
server to say in the querytype field of the output, useful to filter the
:"source" 354 "target" ["querytype"] ["channel"] ["user"]
["IP"] ["host"] ["server"] ["nick"]
- ["flags"] ["hops"] ["idle"] [:"realname"]
+ ["flags"] ["hops"] ["idle"] ["account"]
+ [:"realname"]
Where only the fields specified in the %fields options are present.