Quote:

on @*:JOIN:#ktm: {
msg $chan $nick $+ : You are about to be kicked.ask ur Q ..u cant idle here..
.timer 1 300 msg $chan Goodbye!
.timer 1 300 $iif($nick !isop $chan,inc %kick.number)
.timer 1 300 $iif($nick !isop $chan,.ban -ku $chan $nick)
.timer 1 300 msg $chan That was person number %kick.number to get kicked!
}


Better yet:

Code:
on @*:JOIN:#ktm: {
  msg $nick If you don't ask a question in # in 5 mins, you will be kicked.
  .timerkick $+ nick 1 300 kickem $nick #
}
alias kickem {
  if (($1 !isop $2) && ($me isop $2)) {
    msg $2 Goodbye, $1 $+ , you are being kicked for inactivity.
    inc %kick.number
    ban -ku600 $2 $1 You are %kick.number person to be kicked by me!
  }
}

on *:TEXT:*:#ktm: if ($timer(kick $+ $nick)) { .timerkick $+ $nick off }
on *:QUIT: if ($timer(kick $+ $nick)) { .timerkick $+ $nick off }
on *:NICK: {
  if ($timer(kick $+ $nick)) {
    .timerkick $+ $newnick 1 $timer(kick $+ $nick).secs $timer(kick $+ $nick).com
    .timerkick $+ $nick off
  }
}


I hope I addressed everything, this 'should' work, not tested though...

with the other, if they join and quit, you are still msg'ing the channel Goodbye! after 5 mins whether they are there or not...

-Rappy (routed)