//kick $chan $me Will not rejoin since I am kicking myself.
on *:kick:#:{ if ($knick == $me) { join # } }