I've had a search on the forum but I wasn't able to find anything relevant to my question. If this has indeed been answered before I'm sorry, the search function on this site is a little strange.
My question is, is it possible to list several words in an on *:TEXT: event, but fire if
any of them match? I only ask this because it would save me an awful lot of trouble with a script of mine. Example:
on *:TEXT:*bla* or *monkey* or *hat*:#: /msg $chan Don't speak such nonsense!
In the above, the action would trigger if anyone on the chan said at least one of the words. I'm just wondering if a) This is possible without having to split it up into multiple TEXT events and b) What the actual code for it is.
Thanks