Simple Trigger I need help

Posted by Shadwen on Wed 04 Nov 2009 04:22 PM — 3 posts, 19,079 views.

#0
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



Canada #1
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) :)
#2
No need for a regexp
You could use something like this
* prays (in *) '*'
then send cast %3
hth