on *:text:*:#: { if ($me isop $chan) { if ($gettok(fuck cunt ass sex,$1-,32)) { MODE $chan +b $nick KICK $chan $nick No badwords! } } }
Obviously replace the censored words above with whatever cuss words you want, lol.