In addition to another script halting the text event, there can only be 1 of these text events matching each message, so if you have another text event in the same script having a wildcard-match which matches this event, whichever one is on the higher line is the one which gets triggered.

Also, just to be clear, the text event triggers on channel messages only when it's from another nick. You can't test your own messages in the text event without running 2 clients in the same channel so that one can trigger the other's text event.

For more info that might help -> https://en.wikichip.org/wiki/mirc/on_events/on_text