Trigger help on MUSHclient

by Unknown

Back to Mechanic's Corner.

Unknown2004-11-11 23:45:01
I've never used triggers before in any MUD, and can't figure out how to make them. For example, in MUSHclient I set the 'trigger' to:

Strands of sticky web shoot down from the treetops, cocooning you and yanking you up.

And in the 'send' box I put 'writhe'. But... it dosen't work. At all. I've tried a few other things, which have failed as well.
Unknown2004-11-12 00:32:47
Is the regular expression box enabled? What are you sending it to ('world'?)? How many matches are listed for the trigger? If it's zero then there's a problem with the trigger pattern. Try the 'test trigger' menu option if you want to avoid fighting spiders constantly.
Daganev2004-11-12 01:48:26
get zmud, mushclient is wierd and hard to explain or learn without a person over your shoulder. Though I'm sure its easier for people who don't like to type.

I forgot to answer... I found I had to choose the option box that said "send to world (immediate) for triggers to work.
Unknown2004-11-12 02:42:19
I set it to immediate, as well as checked the 'Regular expression' box, but it still isn't working. The help files didn't do me any good either.

Also, I can't find anything about 'matches'.
Daganev2004-11-12 02:43:35
I got zmud because I was unable to make simple targeting system in mushclient so sorry.
Unknown2004-11-12 05:12:17
I'll have a closer look when I get access to my MushClient system. If you want an answer before then, try http://www.gammon.com.au/forum/bbshowpost.php?bbsection_id=1 as they tend to be very handy.

I could never go back to ZMud. The scripting is simpler to get into, but it's just so slow.
Unknown2004-11-13 00:57:06
Ok, what version do you have Guido? In v3.50 I copied and pasted that trigger, put 'writhe' into the box and had it working straight off. "Regular expression" should not need to be checked. The matches statistic is about half way down the dialog box that you enter your trigger information, on the right hand side - just above the 'sound' box.
Ethelon2004-11-14 03:16:13
Easiest setup is paste the text directly into the Trigger box, Enable Regular Expressions and put writhe in hte send box. Make sure that when you pasted the text in that you did not add in any extra spaces near the end. I also put what it looks like below, you can just copy it and click paste in the triggers section. That should help guide you to start with.


enabled="y"
ignore_case="y"
match="Strands of sticky web shoot down from the treetops, cocooning you and yanking you up."
regexp="y"
sequence="100"
>
writhe

Unknown2004-11-14 13:41:44
zMUD is a hell of a lot less complicated, but getting a free version will either be a temporary set-up or *cough* illegal. MUSHclient is supposedly a lot faster, aka. better, but if you don't know python/VB or whatever, you'll have a hard time (that's the position i'm in).

Let's see. Just get to the 'triggers' section (ctrl+shift+8 is the hotkey), select 'add', in 'trigger' paste the text ("Strands of sticky web shoot down from the..." etc.), and in 'send' paste the action (in this case "writhe"). LEAVE all the other boxes and options alone, you don't need them.

If it's simply doing nothing, i'm not quite sure... are you getting an actual error box? I know that if you're trying to work out aliases involving pre-set variables (such as targetting) then you'll need to do other things, but if you're just setting up a simple trigger or alias then it shouldn't be complicated at all.