Knowledgebase
Storm Palace Hosting > Storm Hosting Help Desk > Knowledgebase

Ask a question:


Looping Sound Script

Solution ;Alan's looping sound script
ON ENTER
{
0 ME SETALARM
}
ON ALARM
{
;*************************************************************
;Enter the name of your sound file in quotes:
"waterfall" soundfile =
;Specify the time it takes to play your sound in minutes, seconds
;and 10ths of seconds.
;Adjust the time until the sound starts again just after it stops each time.
;A long pause means it is trying to start too soon.
0 minutes =
33 seconds =
8 tenthsofseconds =
;*************************************************************
MIDISTOP
soundfile SOUND
;if an old client use MIDIPLAY in case it is a midi on a PC.
{ soundfile MIDIPLAY } IPTVERSION NOT IF
minutes 3600 * seconds 60 * + tenthsofseconds 6 * + ME SETALARM
 
Was this article helpful? yes / no
Article details
Article ID: 25
Category: Room Scripts
Date added: 04-01-2011 16:17:16
Views: 497
Rating (Votes): Article not rated yet (0)

 
<< Go back

Powered by Help Desk Software HESK™