on *:join:#chan: {
if (*kunt* iswm $nick) { kick # $nick Your nick has: kunt in it, try a different nick if you wish to be in here }
}
Of course.. you would probably want to ban them, or add some sort of variable, so that if they have autojoin, it won't cause an infinite loop.