The /whois command is one of the most powerful diagnostic and informational tools available on IRC. It allows you to query the server for public profile details about any connected user, helping you verify identities, check connection paths, and see general activity stats.
1. Running the Command
To query a user, simply type /whois followed by their current nickname:
Plaintext
The server will return a multi-line response directly into your active window or status log.
2. Breaking Down the /whois Output
When you run /whois, the server outputs several distinct lines of data. Here is what each line means:
- The User Info Line:
Plaintext
- Shows their nickname, username, hostmask (or cloaked host), and their real name or GECOS field.
- The Channels Line:
Plaintext
- Lists all public or shared channels the user currently occupies. Symbols like
@or+next to a channel name indicate their status (operator or voiced) in that room. - The Server Line:
Plaintext
- Identifies the exact backend server node the user is currently routed through.
- The Idle and Sign-on Line:
Plaintext
- Shows how long the user has been inactive (idle time in seconds or minutes) and when they established their connection.
- The Operator Line (If Applicable):
Plaintext
- Appears only if the queried user holds network operator (IRCOp) privileges.
3. Checking NickOP Authentication
One of the most useful applications of /whois is verifying whether a user has successfully secured and authenticated their identity with NickOP.
- What to look for: Look for a line confirming their account status:
Plaintext
- or the presence of the
+ruser mode flag. If this line is present, you know definitively that the user is authenticated with their registered NickOP account, preventing impersonation.
4. Practical Uses for /whois
- Troubleshooting Connection Issues: If a friend or staff member is having trouble receiving messages, checking their server line can tell you if they are split or connected to a different node.
- Verifying Staff: Before trusting someone claiming to be a network administrator or helper, running
/whoislets you check for official operator lines or registered service statuses.