Fail if trigger in mid sentence

A short trigger word like 'z' (which we have at MUO's slack) may be used elsewhere in the sentence (Example, in the 'maze' parts of the game). Fixing code where it stripped out all occurrences of trigger word incorrectly.

Forgive any mistakes in the code, am not a PHP dev.