2008-11-07 00:36:49 +01:00
|
|
|
WHO <#channel|nick|mask> [o]
|
2007-01-25 07:40:21 +01:00
|
|
|
|
|
|
|
The WHO command displays information about a user,
|
|
|
|
such as their GECOS information, their user@host,
|
|
|
|
whether they are an IRC operator or not, etc. A
|
|
|
|
sample WHO result from a command issued like
|
|
|
|
"WHO pokey" may look something like this:
|
|
|
|
|
2008-11-07 00:36:49 +01:00
|
|
|
#lamers ~pokey ppp.example.net irc.example.com pokey H :0 Jim Jones
|
|
|
|
|
|
|
|
Clients often reorder the fields; the order in the
|
|
|
|
IRC protocol is described here.
|
2007-01-25 07:40:21 +01:00
|
|
|
|
|
|
|
The first field indicates the last channel the user
|
2008-11-07 00:36:49 +01:00
|
|
|
has joined. The second is the username and the third
|
|
|
|
is the host. The fourth field is the server the user
|
|
|
|
is on. The fifth is the user's nickname. The sixth
|
|
|
|
field describes status information about the user.
|
|
|
|
The possible combinations for this field are listed
|
|
|
|
below:
|
2007-01-25 07:40:21 +01:00
|
|
|
|
|
|
|
H - The user is not away.
|
|
|
|
G - The user is set away.
|
|
|
|
* - The user is an IRC operator.
|
|
|
|
@ - The user is a channel op in the channel listed
|
|
|
|
in the first field.
|
|
|
|
+ - The user is voiced in the channel listed.
|
|
|
|
|
|
|
|
The final field displays the number of server hops and
|
|
|
|
the user's GECOS information.
|
|
|
|
|
|
|
|
This command may be executed on a channel, such as
|
2008-11-07 00:36:49 +01:00
|
|
|
"WHO #lamers". The output will consist of WHO
|
|
|
|
listings for each user on the channel. If you are
|
|
|
|
not on the channel, it must not have cmode +s set
|
|
|
|
and users with umode +i are not shown.
|
|
|
|
|
|
|
|
If the parameter is not a nickname or a channel, users
|
|
|
|
with matching nickname, username, host, server or
|
|
|
|
GECOS information are shown. The wildcards * and ?
|
|
|
|
can be used. Users with umode +i set that are not
|
|
|
|
on the same channel as you are not shown.
|
2007-01-25 07:40:21 +01:00
|
|
|
|
2008-11-07 00:36:49 +01:00
|
|
|
A second parameter of a lowercase letter o ensures
|
|
|
|
only IRC operators are displayed.
|
2007-01-25 07:40:21 +01:00
|
|
|
|
2008-11-07 00:36:49 +01:00
|
|
|
See also: whois, userhost, cmode, umode
|