Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
layzee
Beginner


Joined: 10 Feb 2003
Posts: 11
Location: United Kingdom

PostPosted: 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
Reply with quote
Emit
Magician


Joined: 24 Feb 2001
Posts: 342
Location: USA

PostPosted: Mon Feb 10, 2003 3:55 pm   
 
#trigger {~<victim:awful~>} {disarm} "" {prompt|nocr}

might work a little better

--------

moon.icebound.net:9000
Reply with quote
layzee
Beginner


Joined: 10 Feb 2003
Posts: 11
Location: United Kingdom

PostPosted: Mon Feb 10, 2003 11:51 pm   
 
Great! Works a treat.. :) can you have many prompt triggers or just one?
Reply with quote
TonDiening
GURU


Joined: 26 Jul 2001
Posts: 1958
Location: Canada

PostPosted: 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
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net