|
layzee Beginner
Joined: 10 Feb 2003 Posts: 11 Location: United Kingdom
|
Posted: Mon Feb 10, 2003 2:59 pm
Prompt trigger not firing. |
Hi zMudders,
Basically I am trying to trigger off a few words in my fight prompt the line concerned is as follows:
<278hp 123ma 230mv> <victim:awful> <leader:scratched>
When my victim reaches awful condition I want my other group members to disarm their weapons so I can take all of the experience for the kill. I have an alias for this that works fine and I can disarm manually fine - unfortunately my trigger never fires. It is as follows:
#trigger {<victim:awful>} {disarm}
I'm guessing its because zMUD has created a trigger on the prompt already and I can't fire for a second time on that specific line - the only problem with that one is I can't find any other triggers on the prompt.
Anyone got any ideas? I am fairly new to zMUD.
Mark |
|
|
|
Emit Magician
Joined: 24 Feb 2001 Posts: 342 Location: USA
|
Posted: Mon Feb 10, 2003 3:55 pm |
#trigger {~<victim:awful~>} {disarm} "" {prompt|nocr}
might work a little better
--------
moon.icebound.net:9000 |
|
|
|
layzee Beginner
Joined: 10 Feb 2003 Posts: 11 Location: United Kingdom
|
Posted: Mon Feb 10, 2003 11:51 pm |
Great! Works a treat.. :) can you have many prompt triggers or just one?
|
|
|
|
TonDiening GURU
Joined: 26 Jul 2001 Posts: 1958 Location: Canada
|
Posted: Mon Feb 10, 2003 11:58 pm |
You can have as many as you want.
Just be wary that if you trigger off a Mud prompt very often
you'll be slowed down a bit due to the continuous processing
of the trigger value.
Ton Diening |
|
|
|
|
|