mIRC Home    About    Download    Register    News    Help

Print Thread
#12155 20/02/03 10:25 AM
L
Larra
Larra
L
how about adding an identifier that tells you how long mouse has been inactive, or no key has been pressed ?

#12156 21/02/03 02:49 AM
D
d3v
d3v
D
i think there is one, called $idle if i'm not mistaken

#12157 21/02/03 02:57 AM
Joined: Dec 2002
Posts: 3,015
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,015
That returns how long it has been since you did something* in mIRC.

*I think the only thing that resets the counter is typing something in the edit box and pressing enter.

#12158 21/02/03 12:24 PM
Joined: Dec 2002
Posts: 1,253
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,253
That's correct. If you want to keep your $idle going for as long as possible, you script everything and perform all your activity through popups.
Code:

menu channel {
  Say: say $idle $?="What to say?"
  WhoIs Me: whois $me
}

You'll see that your mIRC's $idle time continues to go up, even though your server's idle time is very short.

#12159 21/02/03 08:25 PM
L
Larra
Larra
L
nope I dont mean that
I mean idle in your computer not only in mIRC. mirc idle grows, but maybe you are doing something else in the computer. well, you are there but not looking at mirc. But, when you go lunch or something, mirc idle grows, and windows idle do so, like in messenger, that sets you away by default after 5 minutes of inactivity (mouse move or key pressed wherever).
So I'd like to get windows idle

#12160 07/03/03 05:25 AM
P
Pap
Pap
P
I'd love to see this too. I have this script that runs/updates automatically once a night, but it is very long and intensive. I currently use the $idle identifier so try to prevent it from going when i'm around, but getting the idle value from the OS, much like it would use to activate the screensaver, would be perfect for me.


Link Copied to Clipboard