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
Tahlnaith
Newbie


Joined: 17 Sep 2003
Posts: 2

PostPosted: Wed Sep 17, 2003 3:43 am   

A trigger within a trigge?
 
I was wondering if there was a way to set a trigger so that when it recieves a specific pattern, it waits until it recieves another specefic pattern, then performs an action. Like this;

A snake has bitten you with a deadly venom. (wait until the death message is recieved)
You are about to die! (now, perform something to cure the venom)

Is there any way I can do this? Thanks in advance.
Reply with quote
PrestoPimp
Apprentice


Joined: 18 Sep 2001
Posts: 175
Location: USA

PostPosted: Wed Sep 17, 2003 5:16 am   
 
#TRIGGER {A snake has bitten you with a deadly venom.} {#TEMP {You are about to die!} {*action to cure venom*}}

Should work nicely, will only execute the You are about to die! trigger once after the snake bites.. so each subsequent bite would recreate that trigger.
Reply with quote
Tahlnaith
Newbie


Joined: 17 Sep 2003
Posts: 2

PostPosted: Wed Sep 17, 2003 5:25 am   
 
Okay, thanks very much.
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