Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ Bug reports ➜ Triggers conflicting

Triggers conflicting

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Penguin   (46 posts)  Bio
Date Thu 27 Jun 2002 10:40 AM (UTC)
Message
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.
Top

Posted by Flannel   USA  (1,230 posts)  Bio
Date Reply #1 on Thu 27 Jun 2002 09:21 PM (UTC)

Amended on Thu 27 Jun 2002 09:22 PM (UTC) by Flannel

Message
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.

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #2 on Fri 28 Jun 2002 05:56 AM (UTC)
Message
Plus, set the triggers to "Keep evaluating".

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

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


13,368 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.