|
kevlar Beginner
Joined: 27 May 2005 Posts: 18
|
Posted: Sat Jun 04, 2005 8:07 pm
newbie question, not sure where to start. |
i've been on MUDs for quite a long time now but never really tried to do anything beyond the very basics with triggers. thought i would try some new stuff but am now realizing that i just don't know where to start.
basicly here is what i want to do. i want to automate a trigger to put all of something into a container, but using the word all in the MUD is not an option in this situation. i will get the following output from the MUD:
You have 1539 coins.
then i have to type: put 1539 coins in bag.
i'm sure this is really really simple, but like i said before, i just don't know where to start. what i'm hoping for in a responce is, "hay kevlar, read this topic in the zMud help, it's where you need to start."
thanks in advance,
kevlar |
|
|
|
GaidinBDJ Wanderer
Joined: 15 Nov 2002 Posts: 52 Location: Las Vegas, Nevada
|
Posted: Sat Jun 04, 2005 8:56 pm |
#trigger {^You have (%d) coins.$} {put %1 coins in bag}
|
|
_________________ Barry
Gaidin @ 3k.org |
|
|
|
GaidinBDJ Wanderer
Joined: 15 Nov 2002 Posts: 52 Location: Las Vegas, Nevada
|
Posted: Sat Jun 04, 2005 8:58 pm |
Look at the "triggers, introduction", and the "patterns" help
There's more examples there. |
|
_________________ Barry
Gaidin @ 3k.org |
|
|
|
|
|