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.
 Entire forum ➜ MUSHclient ➜ General ➜ Trigger help?

Trigger help?

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


Posted by Adrianaendless   (1 post)  Bio
Date Sun 21 Nov 2010 01:23 AM (UTC)
Message
First of all I'm converting from Zmud seeing as how I'd have to upgrade Cmud and I'm not sure I'll like it. (and how I've had strange crashing issues over the years...) So my friend who uses this program suggested it.

I figured out the alias thing - I was sad I had to retype but that's ok, it works. However, I have only successfully made one trigger work from the trigger help section.

I am trying to make triggers to split gold and stand.

ie:

You get 5 gold coins from a corpse.

In Zmud, it looks like this - #TRIGGER {You get (%d) gold} {split %1}

I've tried every combination of /d /d+ etc for the gold and cant make it trigger.

I did manage a save trigger based on "You receive"

Then say it says "The weight of your..." and I'd like it to respond with stand.

Thanks - sorry if I missed this answer already in the forum, I tried a search but didn't come up with it.

Happy Saturday all!

Top

Posted by WillFa   USA  (525 posts)  Bio
Date Reply #1 on Sun 21 Nov 2010 02:09 AM (UTC)
Message
use \ instead of / and check the Regular Expression box
Top

Posted by Nick Gammon   Australia  (23,100 posts)  Bio   Forum Administrator
Date Reply #2 on Sun 21 Nov 2010 03:15 AM (UTC)
Message
Also have a look a this. There is a plugin that helps add aliases without having to retype them all.

Template:post=9705 Please see the forum thread: http://gammon.com.au/forum/?id=9705.

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


14,356 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.