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
RobMacAF
Apprentice


Joined: 09 Jun 2002
Posts: 186
Location: USA

PostPosted: Tue Feb 25, 2003 1:45 am   

Ambient Noise
 
I would like a trigger that does this:

* randomly plays a wave file using the #play command.
* plays it at random times. But not too close to each other

How can this be done?
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Tue Feb 25, 2003 5:21 am   
 
quote:

I would like a trigger that does this:

* randomly plays a wave file using the #play command.
* plays it at random times. But not too close to each other

How can this be done?



#ALARM *@duration {#play wavefilepathhere;#variable duration %random(@min,@max)}

Something like that, though you may need to enclose it in #EXEC and you might run into a few bugs.

li'l shmoe of Dragon's Gate MUD
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