WHOIS <nick1>,Shows more detailed information about the nickname specified. This info includes the users name, host, server, "real" name, and away message. As you can see in the second line you can use whois on multiple nicknames. The third line demonstrates how you can send the whois request to a distant server. If you whois a person on his server you will receive extra info about his idle time.[...] WHOIS <server> [, ...]
whois nickname nicknamewhere the two nicknames are the same will query the user's server about his information just like the whois <server>
See Also: whowas