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
ohm
Beginner


Joined: 17 Sep 2002
Posts: 16

PostPosted: Wed Aug 09, 2006 7:21 am   

Random time trigger
 
Hello folks!

I was wondering what the best way was to setup a "random" trigger event between a set range (seconds perhaps)? Is there an easy way to go about this using Zmud?

Your comments are greatly appriciated!
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4671
Location: Pensacola, FL, USA

PostPosted: Wed Aug 09, 2006 7:44 am   
 
#ALARM +%random(1, 900) {do something here}

that should allow your event to go off randomely between 1 second and 15 minutes...
_________________
Discord: Shalimarwildcat
Reply with quote
ohm
Beginner


Joined: 17 Sep 2002
Posts: 16

PostPosted: Wed Aug 09, 2006 2:33 pm   
 
And where would one enter this nifty script? In a trigger itself?
Reply with quote
ohm
Beginner


Joined: 17 Sep 2002
Posts: 16

PostPosted: Wed Aug 09, 2006 2:41 pm   
 
Ahhh, you can enter it directly into the prompt. Fantastic! Thanks a bunch.
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