Check if AFK script help needed - 08/11/07 04:59 PM
Hi,
I decided to make a script that would check if a person is AFK på checking the idletime, and then sending me a /notice with a /beep 4, if it retuns a certain value.
So far I've got:
This works great when I make a /whois $nick $nick on somebody, I see their idle time, and if they have an idle time less than 600 seconds, I see the "is not AFK" message in my active window, great.
Here is my problem. My mIRC scripting knowledge is very limited, so I am not sure how I can make command that checks this idletime, and sends me a notice. I'd like you guys to help me with that.
I came up with the following:
My idea is to put this into a nicklist popup and then have options to start the timer, stop it etc.
An awesome idea would be to include the /gtalk command, but I can't seem to get that thing to work at the moment...
I decided to make a script that would check if a person is AFK på checking the idletime, and then sending me a /notice with a /beep 4, if it retuns a certain value.
So far I've got:
Code:
raw 317:*: { if ($3 < 600) { echo -a $2 is not AFK (less than 10 min idle time) } }
This works great when I make a /whois $nick $nick on somebody, I see their idle time, and if they have an idle time less than 600 seconds, I see the "is not AFK" message in my active window, great.
Here is my problem. My mIRC scripting knowledge is very limited, so I am not sure how I can make command that checks this idletime, and sends me a notice. I'd like you guys to help me with that.
I came up with the following:
Code:
alias idlecheck { timer 0 10 whois $$1 $$1 if ($3 <= 600) { notice $me user isn't AFK | beep 4 } }
My idea is to put this into a nicklist popup and then have options to start the timer, stop it etc.
An awesome idea would be to include the /gtalk command, but I can't seem to get that thing to work at the moment...