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:
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:
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...