If you just don't want to see a channel's message if some words are in this message, use :

Code:
on ^*:text:*:#:if ($istok(word1 word2 word3 wordN,$strip($1-),32)) haltdef




#mircscripting @ irc.swiftirc.net == the best mIRC help channel