]> jfr.im git - irc/rqf/shadowircd.git/blame_incremental - help/opers/who
Allow using all the mod* commands remotely.
[irc/rqf/shadowircd.git] / help / opers / who
... / ...
CommitLineData
1WHO <#channel|nick|mask> [o][%format]
2
3The WHO command displays information about a user,
4such as their GECOS information, their user@host,
5whether they are an IRC operator or not, etc. A
6sample WHO result from a command issued like
7"WHO pokey" may look something like this:
8
9#lamers ~pokey ppp.example.net irc.example.com pokey H :0 Jim Jones
10
11Clients often reorder the fields; the order in the
12IRC protocol is described here.
13
14The first field indicates the last channel the user
15has joined. The second is the username and the third
16is the host. The fourth field is the server the user
17is on. The fifth is the user's nickname. The sixth
18field describes status information about the user.
19The possible combinations for this field are listed
20below:
21
22H - The user is not away.
23G - The user is set away.
24* - The user is an IRC operator.
25@ - The user is a channel op in the channel listed
26 in the first field.
27+ - The user is voiced in the channel listed.
28
29The final field displays the number of server hops and
30the user's GECOS information.
31
32This command may be executed on a channel, such as
33"WHO #lamers". The output will consist of WHO
34listings for each user on the channel. If you are
35not on the channel, it must not have cmode +s set
36and users with umode +i are not shown.
37
38If the parameter is not a nickname or a channel, users
39with matching nickname, username, host, server or
40GECOS information are shown. The wildcards * and ?
41can be used. Users with umode +i set that are not
42on the same channel as you are not shown.
43
44A second parameter of a lowercase letter o ensures
45only IRC operators are displayed.
46
47The second parameter may also contain a format
48specification starting with a percent sign.
49This causes the output to use numeric 354,
50with the selected fields:
51
52t - Query type. Outputs the given number in each reply.
53c - Channel.
54u - Username.
55i - IP address.
56h - Host.
57s - Server.
58n - Nickname.
59f - Status.
60d - Hop count.
61l - Idle time or 0 for users on other servers.
62a - Services account name or 0 if none.
63r - GECOS information.
64
65"WHO #lamers %tuhnf,42" would generate a brief listing
66of channel members and include the number 42 in each
67line.
68
69See also: whois, userhost, cmode, umode