Not the best, but it should do. Since it's your own channel, I'm assuming CS auto-ops you on join, so the opme command shouldn't be needed.

on *:kick:#tbmonly:{
if ($nick == $me && $knick == $me ) { halt }
if ($nick != $me && $knick == $me) {
join #tbmonly
/timer1 2 1 /mode #tbmonly -o+b $nick $address($nick,2)
/timer2 2 1 /kick #tbmonly $nick Goodbye!
}
}

Oops, yeah i was not thinking. I kept the if ($nick == $me ) { halt } so that if you kick yourself, you don't rejoin and ban yourself :tongue:

Last edited by adazh; 22/07/05 09:05 PM.