]>
Commit | Line | Data |
---|---|---|
d6ccfc1b | 1 | WHO <#channel|nick|mask> [o] |
212380e3 AC |
2 | |
3 | The WHO command displays information about a user, | |
4 | such as their GECOS information, their user@host, | |
5 | whether they are an IRC operator or not, etc. A | |
6 | sample WHO result from a command issued like | |
7 | "WHO pokey" may look something like this: | |
8 | ||
d6ccfc1b JT |
9 | #lamers ~pokey ppp.example.net irc.example.com pokey H :0 Jim Jones |
10 | ||
11 | Clients often reorder the fields; the order in the | |
12 | IRC protocol is described here. | |
212380e3 AC |
13 | |
14 | The first field indicates the last channel the user | |
d6ccfc1b JT |
15 | has joined. The second is the username and the third |
16 | is the host. The fourth field is the server the user | |
17 | is on. The fifth is the user's nickname. The sixth | |
18 | field describes status information about the user. | |
19 | The possible combinations for this field are listed | |
20 | below: | |
212380e3 AC |
21 | |
22 | H - The user is not away. | |
23 | G - 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 | ||
212380e3 AC |
29 | The final field displays the number of server hops and |
30 | the user's GECOS information. | |
31 | ||
32 | This command may be executed on a channel, such as | |
d6ccfc1b JT |
33 | "WHO #lamers". The output will consist of WHO |
34 | listings for each user on the channel. If you are | |
35 | not on the channel, it must not have cmode +s set | |
36 | and users with umode +i are not shown. | |
37 | ||
38 | If the parameter is not a nickname or a channel, users | |
39 | with matching nickname, username, host, server or | |
40 | GECOS information are shown. The wildcards * and ? | |
41 | can be used. Users with umode +i set that are not | |
42 | on the same channel as you are not shown. | |
212380e3 | 43 | |
d6ccfc1b JT |
44 | A second parameter of a lowercase letter o ensures |
45 | only IRC operators are displayed. | |
212380e3 | 46 | |
d6ccfc1b | 47 | See also: whois, userhost, cmode, umode |