What kind of idle kick you want?
I mean you can check the idle of someone in your channel ,or the server idle
The first one is very easy to do it .
;Syntax /kickidle #channel minutes.r in $nick($1,%i,r) means that it will kick only regular users
alias kickidle {
if ($1 ischan && $2 isnum) {
var %i = 1
while ($nick($1,%i,r)) {
if ($nick($1,%i,r).idle >= $calc($2 * 60)) { kick $1 $nick($1,%i,r).idle 2 Anti-idle kick.You have more than $2 minutes idle }
inc %i
}
}
}
If you want to check server idle ,the only way is to make a whois on everyone.raw 317 reply is the server idle.
I will write the code for server idle only if i am sure that this is what you want :tongue:.Also keep in mind that checking server idle in big channel will cause you lag.