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


Joined: 08 Jun 2003
Posts: 4
Location: USA

PostPosted: Wed Jul 16, 2003 7:48 am   

A little question.
 
I realize this is for serious support and whatnot, but I'm not really sure what all ZMud can do, and how to do it. I'd like to know if anyone would know how I would go about making a trigger that does the following:

Upon receiving a certain string of text an 8 second timer that is displayed at the bottom of the screen above where you enter text is displayed and counts down.

Because I have this ability on one of the muds I play that activates after 8 seconds of initially using it, and I want to be able to time it just right and use it when I would like to instead of counting in my head.

Your help would be greatly appreciated...and if you don't help, I'd understand that too.

Thanks in advance.

-- Andrew
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Wed Jul 16, 2003 5:31 pm   
 
#TR {a certain string of text} {#VAR timer 8;#MATH counter (%secs + 8000);#T+ countdown}
#ALA countdown *1 {#MATH timer ((@counter + 500 - %secs)/1000);#IF (@timer < 1) {#T- countdown;#VAR timer 0}}
#ST {Countdown: @timer}
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