Not the greatest way, since the list of words could be arbitrarily large, but it does what you're asking.
Add another word by placing |
WORD3 (in captial letters and including the leading pipe character) after WORD2. This is only an example.
Obviously, change #Channel as well.
Also, this will trigger if the words are anywhere in the text.
Using the given example words, it will trigger on any of these:
This is WORD1
This is WORD1!
This isWORD1!
WORD2isABadWord
on @$*:TEXT:/[color:red]WORD1[/color]|[color:red]WORD2[/color]/S:[color:red]#Channel[/color]:{
ban -ku600 $chan $nick 2
}