Permite escuchar un sonido una y otra vez como si el sonido jamas parara.Este script es mas bien usado para fondos de pajaritos,las olas de el mar,cascadas etc.
ON ENTER
{
0 ME SETALARM
}
ON ALARM
{
;*************************************************************
;Pon el nombre de tu sonido:
"waterfall" soundfile =
;especifica el tiempoque tomara en minutos para que se escuche, seconds
;and 10ths of seconds.
;ajusta el tiempo hasta que el sonido comience otra vez cada vez que pare de nuevo.
;Una pausa larga quiere decir que esta tratando de comenzar de nuevo.
0 minutes =
33 seconds =
8 tenthsofseconds =
;*************************************************************
MIDISTOP
soundfile SOUND
;si es un cliente viejo usa MIDIPLAY en caso que sea un MIDI en una PC.
{ soundfile MIDIPLAY } IPTVERSION NOT IF
minutes 3600 * seconds 60 * + tenthsofseconds 6 * + ME SETALARM
}
;Alan's looping sound with on/off control
;modified from a script by unknown author
ON ENTER
{
snd GLOBAL
1 snd =
"Say 'on' or 'off' to control the music." STATUSMSG
1 ME SETALARM
}
ON OUTCHAT
{
snd GLOBAL
{ 1 snd =
1 ME SETALARM
"" CHATSTR =
} snd NOT
CHATSTR "on" == AND IF
{ 0 snd =
"" CHATSTR =
} CHATSTR "off" == IF
}
ON ALARM
{
snd GLOBAL
;*************************************************************
;Enter the name of your sound file in quotes:
"tobeloved_m" 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.
4 minutes =
55 seconds =
0 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
} snd IF
}