mIRC Home    About    Download    Register    News    Help

Print Thread
#48612 11/09/03 07:26 AM
Joined: Dec 2002
Posts: 1,541
L
Hoopy frood
OP Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,541
How about expanding $nick so $nick(#,0,i) would return the number of people idle in the channel? Hell, at that point you could (in THEORY) do $nick(#,0,i).N where N was an idle time that could be used to see how many idlers were OVER that time. This (the first half of this post) should be easy enough to figure out and implement (he said from a NON programmer POV)


Those who fail history are doomed to repeat it
#48613 11/09/03 10:11 AM
Joined: Mar 2003
Posts: 1,271
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,271
Actually, the idle option cannot exist without defining idle time -- who is to decide when a user is idle and when he is not? Some people consider 5 minutes to be idle, others consider an hour to be idle.


DALnet #Helpdesk
I hear and I forget. I see and I remember. I do and I understand. -Confucius
#48614 11/09/03 10:15 AM
Joined: Dec 2002
Posts: 1,541
L
Hoopy frood
OP Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,541
well, if mirc can list them as idle after a set period of time, then the $nick expansion COULD utilize that aspect of mirc to deside it


Those who fail history are doomed to repeat it
#48615 11/09/03 10:47 PM
Joined: Sep 2003
Posts: 5
C
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
C
Joined: Sep 2003
Posts: 5
Maybe I have a scriptsolution:

You can use the addressbook/color to change the color of all idle people (you can define the idletimer yourself) to to a certain one. Then you write an alias, which counts the lines in that channels listbox, that have that color.

I hope that helped.
CySlider


Visit me @ #fresh-anime on Netgamers
#48616 12/09/03 02:00 AM
Joined: Dec 2002
Posts: 1,541
L
Hoopy frood
OP Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,541
I was just figuring there could be a way to get it done internally and would be (perhaps - Ive seen arguments for this kind of thing before and dont pretend to dictate what others will and wont do) better to have it in the $nick identifyer itself, but yes, this IS an alternative


Those who fail history are doomed to repeat it
#48617 12/09/03 01:23 PM
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
Or you could simply loop through all the nicks in the listbox and check their idle time using $nick().idle. No need for nick colouring then.


Spelling mistakes, grammatical errors, and stupid comments are intentional.

Link Copied to Clipboard