How do you I set the whois output to show whether is the nick registered or not?
For example:
Original:
Testuser is [email protected]* TestUser
Testuser on #test
Testuser using test.localhost.com test.localhost.com
Testuser has been idle 1sec, signed on Wed Feb 04 21:46:50
Testuser End of /WHOIS list.
Desired Result:
Testuser is [email protected]* TestUser
Testuser on #test
Testuser is a registered nick
Testuser using test.localhost.com test.localhost.com
Testuser has been idle 1sec, signed on Wed Feb 04 21:46:50
Testuser End of /WHOIS list.
The other answer is that that line is controlled by user mode +r. If you have +r (typically given by Nickserv upon registering/identifying), that line will appear in your whois reply.
zEkE wrote:The other answer is that that line is controlled by user mode +r. If you have +r (typically given by Nickserv upon registering/identifying), that line will appear in your whois reply.
I don't think he wants to do that on every user connection to the server :')
zEkE is a registered nick, but is not currently online or is not currently identified.
[23:56:17] -NickServ- zEkE is http://bananabiter.wordpress.com/
[23:56:18] -NickServ- zEkE is a services root administrator.
[23:56:18] -NickServ- Time registered: Aug 28 18:58:34 2007 EDT
[23:56:18] -NickServ- Last seen time: Feb 06 16:55:26 2009 EST
[23:56:18] -NickServ- Last quit message: Broken pipe
[23:56:18] -NickServ- For more verbose information, type /msg NickServ INFO zEkE ALL.
zEkE|Macbook however, is online and identified.
[23:56:25] -NickServ- zEkE|Macbook is http://bananabiter.wordpress.com/
[23:56:26] -NickServ- zEkE|Macbook is a services root administrator. [23:56:26] -NickServ- zEkE|Macbook is currently online.
[23:56:26] -NickServ- Time registered: Dec 27 19:18:43 2008 EST
[23:56:26] -NickServ- Last quit message: Ping timeout
[23:56:26] -NickServ- For more verbose information, type /msg NickServ INFO zEkE|Macbook ALL.
-NickServ- Q is Q
-
-NickServ- Q is a services root administrator.
-
-NickServ- Q is currently online.
-
-NickServ- Time registered: Jan 30 09:25:44 2009 PST
-
-NickServ- Last quit message: Ping timeout