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


Joined: 19 Jun 2002
Posts: 2
Location: Chile

PostPosted: Wed Jun 19, 2002 4:03 am   

Timer Trigger
 
how can i do a trigger that as an example, when someone tells you "drink" you drink water, and then ignore every other tells that say "drink" for a minute, and then accept it again.
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Wed Jun 19, 2002 5:48 am   
 
One way of doing this is with a control variable and a one-time alarm.
#VAR drinking 0 0
#TR {tells you, 'drink} {#IF {@drinking = 0} {#VAR drinking 1;#ALA +60 {#VAR drinking 0};drink}}


LightBulb
Senior Member
Reply with quote
Unwritten
Newbie


Joined: 19 Jun 2002
Posts: 2
Location: Chile

PostPosted: Thu Jun 20, 2002 2:12 am   
 

thanks.
anyway i figured out how to make it using #WAIT
anyway, thanks again =)
Reply with quote
TonDiening
GURU


Joined: 26 Jul 2001
Posts: 1958
Location: Canada

PostPosted: Thu Jun 20, 2002 2:27 am   
 
#WAIT isn't recommended for a host of reasons.

I'd recommend using LightBulb's #ALARM method.

Ton Diening
Providing untested answers that tend to be
more complicated than others.
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