Triggers conflicting

Posted by Penguin on Thu 27 Jun 2002 10:40 AM — 3 posts, 14,092 views.

#0
I have a trigger to match on a my friends' names eg (Chicken|Duck) and this will color their names blue. However recently I tried using a different trigger(which colors a line with their name in yellow as part of the trigger), and I found out that the second trigger wouldn't work.

I'm not sure if this is a bug or anything, but maybe it should allow the two triggers to work together, eg color 'Chicken' blue and the rest of the line 'is very tasty' yellow.
USA #1
If you set the triggers to have different sequences, this can be made to work.

Set the sequence of the trigger "(Duck|Chicken) is very tasty" with a sequence lower than that of the "(Duck|Chicken)".

Mushclient will match (and color) the 'duck/chicken is very tasty', and then go back and color the 'duck/chicken' a different color.

Just make sure you have the triggers matching in the correct order.
Amended on Thu 27 Jun 2002 09:22 PM by Flannel
Australia Forum Administrator #2
Plus, set the triggers to "Keep evaluating".

Otherwise, as soon as a match is made, MUSHclient does not attempt to make further matches.