alias idle { .timer 0 301 /idle2 }
alias idle2 { var %x = 1
while (%x <= $nick(#,0,r)) { if ($nick($chan,$nick(#,%x,r)).idle >= 300) { kick # $nick(#,%x,r) You have Idled in #HelpCenter for 5mins - Please Come back if you need help. }
inc %x
}
}
The object of the script is to kick anyone who idles in the channel for 5mins or more - and if they do, it kicks them. :\
It works when I do it manually, and screws up if I dont do it manually...
Please help
~Kriminal