mIRC Homepage
Posted By: temprand0m On /WHOIS I want it to show idle time - 18/07/11 07:04 PM
When I /WHOIS myself this will show up:

-
test123 is ~test@hostname.com * test
test123 on #test
test123 using EFnet
test123 has been idle 1hr 15mins 6secs, signed on Mon Jul 18 07:34:42
test123 End of /WHOIS list.
-

When I whois other users idle time will not show up. However if Im using NNScript and NBS-irc (addons for mIRC) idle time will show up when I /whois other users.

It must mean that it is possible to make idle time show up when I /whois users without any addons? Or is there a script on how to make idle time show up on whois?
Posted By: RoCk Re: On /WHOIS I want it to show idle time - 18/07/11 07:17 PM
Try /whois <nick> <nick>

/whois test123 test123
Posted By: Jigsy Re: On /WHOIS I want it to show idle time - 18/07/11 09:03 PM
Take into consideration that some IRCds have usermodes which hide idle time from other users.
Posted By: MonoSex Re: On /WHOIS I want it to show idle time - 26/07/11 07:26 PM
Idle time is normally not propagated across the network. If you /whois someone who is using the same server as you are, idle time will be shown. If the target is using a different server on the same network, you will not get their idle time. I believe this is done to save bandwidth, which may not be as relevant today as it was in 1980s when IRC was invented.

The protocol is very efficient and servers operate on a need-to-know basis. Imagine a network of servers A<->B<->C. Now if user on server A sends a private message to user on server B, server C won't know about it at all. Since WHOIS is requested locally, users on server C would get incorrect idle time.

One way to get user's full WHOIS info is to send the request directly to remote server. You can use /whois <nick> <nick> or /whois <server> <nick> to do this. The only drawback might be slightly slower response on laggy networks.
Posted By: ginshi13 Re: On /WHOIS I want it to show idle time - 11/11/12 02:23 AM
Thanks, was having this issue too, now to make a script of this...
Posted By: KindOne Re: On /WHOIS I want it to show idle time - 11/11/12 03:35 AM
Tools -> Script Editor -> Popups Tab -> View -> Nick list

Change:
Code:
Info:/uwho $1
Whois:/whois $$1

Into:
Code:
Info:/uwho $1 $1
Whois:/whois $$1 $$1



Tools -> Options -> Mouse ->


Change:
Code:
/whois $$1

Into:
Code:
/whois $$1 $$1



This will allow you to get the idle time of people on different servers within the network (pending the IRCd or some usermode is not hiding it).
Posted By: thearcoN Re: On /WHOIS I want it to show idle time - 11/01/16 08:30 AM
Thank you very much for your post. It helped me out a lot.
Posted By: M_A_ Re: On /WHOIS I want it to show idle time - 29/06/16 09:41 AM
Originally Posted By: RoCk
Try /whois <nick> <nick>

/whois test123 test123


You are a crack.
Thank you very much.
Posted By: M_A_ Re: On /WHOIS I want it to show idle time - 30/06/16 06:47 AM
The only noticeable problem is the reception of "No Such Server" message in "No Such Nickname" situations.

I am not sure about how to work it around.
A possible one, could be logically interpreting a raw 402 as a former RAW 401 ... or getting back to the single argument whois ... which would mean losing idle info .. which is not acceptable

I hope this helps someone
Posted By: KindOne Re: On /WHOIS I want it to show idle time - 30/06/16 07:31 AM
Some IRCd's give different responses on a remote whois if the nick does not exist.


UnrealIRCd:

whois r4
:irc2.unrealircd.org 401 KindOne r4 :No such nick/channel
:irc2.unrealircd.org 318 KindOne r4 :End of /WHOIS list.
whois r4 r4
:irc2.unrealircd.org 402 KindOne r4 :No such server



Heavily? modified UnrealIRCd 3.2.6:

whois r4
:*.SwiftIRC.net 401 KindOne r4 :No such nick/channel
whois r4 r4
:*.SwiftIRC.net 401 KindOne r4 :No such nick/channel



InspIRCd:

whois r4
:bender.chatspike.net 401 KindOne r4 :No such nick/channel
:bender.chatspike.net 318 KindOne r4 :End of /WHOIS list.
whois r4 r4
:bender.chatspike.net 401 KindOne r4 :No such nick/channel
:bender.chatspike.net 318 KindOne r4 :End of /WHOIS list.



ircd-ratbox: (EFNet)

whois r4
:irc.servercentral.net 401 KindOne r4 :No such nick/channel
:irc.servercentral.net 318 KindOne r4 :End of /WHOIS list.
whois r4 r4
:irc.servercentral.net 402 KindOne r4 :No such server



charybdis: (fork of ircd-rabox)

whois r4
:Caprica.StaticBox.net 401 KindOne r4 :No such nick/channel
:Caprica.StaticBox.net 318 KindOne r4 :End of /WHOIS list.
whois r4 r4
:Caprica.StaticBox.net 402 KindOne r4 :No such server



ircd-seven: (fork of charybdis)

whois r4
:card.freenode.net 401 KindOne r4 :No such nick/channel
:card.freenode.net 318 KindOne r4 :End of /WHOIS list.
whois r4 r4
:card.freenode.net 402 KindOne r4 :No such server



bahamut:

whois r4
:laud.ix.us.dal.net 401 KindOne r4 :No such nick/channel
:laud.ix.us.dal.net 318 KindOne r4 :End of /WHOIS list.
whois r4 r4
:laud.ix.us.dal.net 402 KindOne r4 :No such server



u2.10.12.10+snircd(1.3.4a):

whois r4
:azubu.il.us.quakenet.org 401 KindOne r4 :No such nick
:azubu.il.us.quakenet.org 318 KindOne r4 :End of /WHOIS list.
whois r4 r4
:azubu.il.us.quakenet.org 401 KindOne r4 :No such nick
:azubu.il.us.quakenet.org 318 KindOne r4 :End of /WHOIS list.
© mIRC Discussion Forums