Just one quick hint: on *:KICK:#:/join #channel <-- this will rejoin the channel everytime someone is kicked, not just you.