Skip to content

Instantly share code, notes, and snippets.

@Zarthus

Zarthus/who.md Secret

Created March 27, 2015 15:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Zarthus/3910bb555acebd45e95d to your computer and use it in GitHub Desktop.
Save Zarthus/3910bb555acebd45e95d to your computer and use it in GitHub Desktop.
 who :WHO <#channel|nick|mask> [o][%format]
 who :
 who :The WHO command displays information about a user,
 who :such as their GECOS information, their user@host,
 who :whether they are an IRC operator or not, etc.  A
 who :sample WHO result from a command issued like
 who :"WHO pokey" may look something like this:
 who :
 who :#lamers ~pokey ppp.example.net irc.example.com pokey H :0 Jim Jone
 who :
 who :Clients often reorder the fields; the order in the
 who :IRC protocol is described here.
 who :
 who :The first field indicates the last channel the user
 who :has joined.  The second is the username and the third
 who :is the host.  The fourth field is the server the user
 who :is on.  The fifth is the user's nickname.  The sixth
 who :field describes status information about the user.
 who :The possible combinations for this field are listed
 who :below:
 who :
 who :H       -       The user is not away.
 who :G       -       The user is set away.
 who :*       -       The user is an IRC operator.
 who :@       -       The user is a channel op in the channel listed
 who :                in the first field.
 who :+       -       The user is voiced in the channel listed.
 who :
 who :The final field displays the number of server hops and
 who :the user's GECOS information.
 who :
 who :This command may be executed on a channel, such as
 who :"WHO #lamers".  The output will consist of WHO
 who :listings for each user on the channel.  If you are
 who :not on the channel, it must not have cmode +s set
 who :and users with umode +i are not shown.
 who :
 who :If the parameter is not a nickname or a channel, users
 who :with matching nickname, username, host, server or
 who :GECOS information are shown.  The wildcards * and ?
 who :can be used.  Users with umode +i set that are not
 who :on the same channel as you are not shown.
 who :
 who :A second parameter of a lowercase letter o ensures
 who :only IRC operators are displayed.
 who :
 who :The second parameter may also contain a format
 who :specification starting with a percent sign.
 who :This causes the output to use numeric 354,
 who :with the selected fields:
 who :
 who :t       -       Query type. Outputs the given number in each reply
 who :c       -       Channel.
 who :u       -       Username.
 who :i       -       IP address.
 who :h       -       Host.
 who :s       -       Server.
 who :n       -       Nickname.
 who :f       -       Status.
 who :d       -       Hop count.
 who :l       -       Idle time or 0 for users on other servers.
 who :a       -       Services account name or 0 if none.
 who :r       -       GECOS information.
 who :
 who :"WHO #lamers %tuhnf,42" would generate a brief listing
 who :of channel members and include the number 42 in each
 who :line.
 who :
 who :See also: whois, userhost, cmode, umode
 who :End of /HELP.
 ```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment