[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  General
. . -> [Subject]  Trigger help?

Trigger help?

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


Posted by Adrianaendless   (1 post)  [Biography] 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!

[Go to top] top

Posted by WillFa   USA  (525 posts)  [Biography] bio
Date Reply #1 on Sun 21 Nov 2010 02:09 AM (UTC)
Message
use \ instead of / and check the Regular Expression box
[Go to top] top

Posted by Nick Gammon   Australia  (22,988 posts)  [Biography] 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
[Go to top] 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.


13,341 views.

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

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]