X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/c487e4d25b49966899d10e38d94ae3f0953acec1..d74f4f873c743a2e77c766d44ae4a4ca09d14a4c:/help/opers/who diff --git a/help/opers/who b/help/opers/who index 43b1ef7..d7c2729 100644 --- a/help/opers/who +++ b/help/opers/who @@ -1,4 +1,4 @@ -WHO <#channel|nick|mask> [o] +WHO <#channel|nick|mask> [o][%format] The WHO command displays information about a user, such as their GECOS information, their user@host, @@ -44,4 +44,26 @@ on the same channel as you are not shown. A second parameter of a lowercase letter o ensures only IRC operators are displayed. +The second parameter may also contain a format +specification starting with a percent sign. +This causes the output to use numeric 354, +with the selected fields: + +t - Query type. Outputs the given number in each reply. +c - Channel. +u - Username. +i - IP address. +h - Host. +s - Server. +n - Nickname. +f - Status. +d - Hop count. +l - Idle time or 0 for users on other servers. +a - Services account name or 0 if none. +r - GECOS information. + +"WHO #lamers %tuhnf,42" would generate a brief listing +of channel members and include the number 42 in each +line. + See also: whois, userhost, cmode, umode