hmm if i use this script nothing hapents:
on me:*:JOIN:#needhelp: .timer 0 5 CheckIdlers
alias CheckIdlers {
var %chan = $1, %a = $nick(%chan,0)
while %a {
if ($ulevel != 10) || ($ulevel != 11) {
if ($nick(%chan,%a).idle > 20) {
ban -ku300 %chan $nick(%chan,%a) 2 Please do not idle. Return in a while if you need help or want to help
}
}
dec %a
}
}
And if i use this one, it kicks and bans everyone also level 10 & 11 users:
on me:*:JOIN:#needhelp: .timer 0 5 CheckIdlers
alias CheckIdlers {
var %chan = #needhelp, %a = $nick(%chan,0)
while %a {
if ($ulevel != 10) || ($ulevel != 11) {
if ($nick(%chan,%a).idle > 20) {
ban -ku300 %chan $nick(%chan,%a) 2 Please do not idle. Return in a while if you need help or want to help
}
}
dec %a
}
}