Code:
on @*:join:#help:{
  $+(.timer,$nick) 0 30 idlecheck $nick $chan
}
alias idlecheck {
 if ($1 !isreg $2) { $+(.timer,$1) off | return }
  if ($nick($2,$1).idle > 300) {
    ban -u900 $2 $1 2 | sapart $1 $2
    $+(.timer,$1) off
  }
}


Sorry. That should fix my error (and SladeKraven's). i forgot to stop the script from proceeding after halting the timer.
Originally Posted By: mrsilent

What do you mean by this: if ($1 !isreg $2) ?

$1 represents the nick
$2 represents the channel
!isreg represents user that is not @ or + on the channel

if (Nick !isreg Channel) { $+(.timer,Nick) off | return }

Hope this helps. smile


any help would make me happy