Most, if not all, IRC clients have a "auto join on kick" option, but the purpose of this snippet is to delay the auto join using a timer. Some channels have a bot that will ban those that auto join after being kicked; I've been on such a channel. :-)
; LuminolBlue's Auto Join On Kick with a Timer
; Feel free to remove these comments and modify the script.
on *:kick:#:{
if ($knick == $me) {
.timer 1 10 .join #
halt
}
}