Knowledgebase
Storm Palace Hosting > Storm Hosting Help Desk > Knowledgebase

Ask a question:


Looping Sound 2

Solution ON ENTER
{
0 ME SETALARM
}
ON ALARM
{
;*************************************************************
;Enter the name of your sound file in quotes:
"thunderrain.wav" 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: 328
Category: Room Scripts
Date added: 01-02-2014 01:50:03
Views: 471
Rating (Votes): Article not rated yet (0)

 
<< Go back

Powered by Help Desk Software HESK™