Getting Triggers to Work

Posted by Plazgoth on Tue 10 Dec 2002 12:24 AM — 2 posts, 12,404 views.

USA #0
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
Australia Forum Administrator #1
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.