mIRC Home    About    Download    Register    News    Help

Print Thread
#12155 20/02/03 10:25 AM
Joined: Dec 2002
Posts: 39
L
Larra Offline OP
Ameglian cow
OP Offline
Ameglian cow
L
Joined: Dec 2002
Posts: 39
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
Joined: Feb 2003
Posts: 3
D
d3v Offline
Self-satisified door
Offline
Self-satisified door
D
Joined: Feb 2003
Posts: 3
i think there is one, called $idle if i'm not mistaken

#12157 21/02/03 02:57 AM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
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,321
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,321
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.


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C
#12159 21/02/03 08:25 PM
Joined: Dec 2002
Posts: 39
L
Larra Offline OP
Ameglian cow
OP Offline
Ameglian cow
L
Joined: Dec 2002
Posts: 39
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
Joined: Mar 2003
Posts: 32
P
Pap Offline
Ameglian cow
Offline
Ameglian cow
P
Joined: Mar 2003
Posts: 32
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