mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jul 2011
Posts: 5
T
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
T
Joined: Jul 2011
Posts: 5
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?

Last edited by temprand0m; 18/07/11 10:06 PM.
Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031
Try /whois <nick> <nick>

/whois test123 test123

Joined: Nov 2004
Posts: 842
Hoopy frood
Offline
Hoopy frood
Joined: Nov 2004
Posts: 842
Take into consideration that some IRCds have usermodes which hide idle time from other users.


What do you do at the end of the world? Are you busy? Will you save us?
Joined: Dec 2002
Posts: 395
M
Fjord artisan
Offline
Fjord artisan
M
Joined: Dec 2002
Posts: 395
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.

Last edited by MonoSex; 27/07/11 01:17 AM.
Joined: Nov 2012
Posts: 1
G
Mostly harmless
Offline
Mostly harmless
G
Joined: Nov 2012
Posts: 1
Thanks, was having this issue too, now to make a script of this...

Joined: Feb 2011
Posts: 448
K
Pan-dimensional mouse
Offline
Pan-dimensional mouse
K
Joined: Feb 2011
Posts: 448
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).

Last edited by KindOne; 11/11/12 03:47 AM. Reason: Added Mouse...
Joined: Jan 2016
Posts: 1
T
Mostly harmless
Offline
Mostly harmless
T
Joined: Jan 2016
Posts: 1
Thank you very much for your post. It helped me out a lot.

Joined: Sep 2015
Posts: 22
M
Ameglian cow
Offline
Ameglian cow
M
Joined: Sep 2015
Posts: 22
Originally Posted By: RoCk
Try /whois <nick> <nick>

/whois test123 test123


You are a crack.
Thank you very much.

Joined: Sep 2015
Posts: 22
M
Ameglian cow
Offline
Ameglian cow
M
Joined: Sep 2015
Posts: 22
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

Last edited by M_A_; 30/06/16 07:31 AM.
Joined: Feb 2011
Posts: 448
K
Pan-dimensional mouse
Offline
Pan-dimensional mouse
K
Joined: Feb 2011
Posts: 448
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.


Link Copied to Clipboard