You should use: > if (!disparo ==$strip($1)) { The isin operator will match anything that begins and ends it. It's not good. You should add $strip() identifier to strip out color control codes, or else the trigger won't be functional if a user uses colors in their text.