You can easiely use them in a $istok() statement, or a regex.
something like:
on *:text:*:#: {
if ($nick($chan,$nick,vr)) && ($istok(word word word word,$1-,32)) {
kick $chan $nick $time(hh:nn:tt) Do not say badword here!
}
}
I would suggest regex, but i dont really know how to use it. Only very, very basic.