For content, you can filter out the "default" things like.. users leaving/joining, various misc stuff like nickname chnages / kicks / DCs and such; but there is no way to filter out messages by specific content.
Since there exists a way to highlight words that you define, I assume a mechanism does exist by which message hiding could be implemented; but I don't know about one as such.
I assume the standard filters are not sufficient?