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


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Tips and tricks
. . -> [Subject]  Simple Trigger I need help

Simple Trigger I need help

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


Posted by Shadwen   (9 posts)  [Biography] bio
Date Wed 04 Nov 2009 04:22 PM (UTC)
Message
Hey, im a new immortal on a Smaug mud. I need a trigger that when sitting in my following it will cast the spell that they ask for.


its supposed to work like this:

Person prays(in common)'sanc'

at Person c sanc



[Go to top] top

Posted by Phaeton   Canada  (8 posts)  [Biography] bio
Date Reply #1 on Thu 05 Nov 2009 07:26 PM (UTC)
Message
There are plenty of resources available on the forums and website that can show you how to do this. In general, it's better to make an effort and then ask for help if you don't get the desired/expected result.

You could probably figure it out from this page:

http://mushclient.com/mushclient/funwithtriggers.htm

Anyways,

You probably want to match something like (with regex checked):

^(\w+) prays\(in common\)'sanc'


To send something like:

at %1 c sanc


(Or something) :)
[Go to top] top

Posted by Oriol   (31 posts)  [Biography] bio
Date Reply #2 on Mon 16 Nov 2009 11:57 AM (UTC)
Message
No need for a regexp
You could use something like this
* prays (in *) '*'
then send cast %3
hth
[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,107 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]