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 ➜ Getting Triggers to Work

Getting Triggers to Work

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


Posted by Plazgoth   USA  (10 posts)  Bio
Date Tue 10 Dec 2002 12:24 AM (UTC)
Message
I am having a hard time getting triggers to work. My setup is a bit non-standard. I have to go through a telnet proxy to get out and I think that's why the triggers might not be working. Or it could be something really stupid on my part like not enableing triggers. So I am opent to trying all suggestions. The triggers I am trying are simple ones like triggering on "Choose thy fate:" and having the clinet send out a character 'c'. The only way I know of entering triggers is through the GUI so it is hard to post an example. Anyway please let me know.

Thanks
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Tue 10 Dec 2002 02:05 AM (UTC)
Message
Recent versions (from 3.21 onwards) let you highlight the trigger in the trigger list and then click on the "copy" button. You can then paste the resulting trigger into a message. That might help to see what is happening.

Also, try pasting the exact MUD output, so we can see what you are trying to do.

One problem might be that you are trying to match on a line (eg. a question) that does not have a newline. Triggers only match when the newline character is received (ie. at "official" end of line).

However there is a recent example in a plugin that will match on partial lines, using a timer. You could adapt that to answer questions, if that is what you are trying to do.

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


11,820 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.