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 ➜ General ➜ Creating Two of the same triggers for different purposes

Creating Two of the same triggers for different purposes

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


Posted by Morgoth   Israel  (38 posts)  Bio
Date Wed 14 May 2003 12:15 PM (UTC)
Message
OK. here's my problem.
In the mud there's an attack that gives me two afflctions.
What I'v made is the same trigger twice just labeled differently, (in my system I have to label the trigger and it cures it accordingly). so it cures both. But it only responds to one of the triggers. What am i doing wrong?
Top

Posted by Ked   Russia  (524 posts)  Bio
Date Reply #1 on Wed 14 May 2003 12:54 PM (UTC)
Message
You need to 'sequence' the triggers so that one of them matches first and then the other one matches.

To do that simple choose one of the triggers and set its Sequence number to 1 less than that of the other trigger (if trigger2 has the sequence of 100, then trigger1 should have the sequence of 99). Then check 'Keep evaluating' option for the trigger which has the lesser sequence number. That way your trigger1 (sequence of 99) will match on the line, but it won't prevent the rest of the triggers to match on it, thus allowing trigger2 (sequence of 100) to match.
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.


9,246 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.