Home   Help Search Login Register  

Author Topic: Looping A song  (Read 686 times)

0 Members and 1 Guest are viewing this topic.

armymanbronson

  • Guest
Looping A song
« on: 13 Nov 2002, 13:50:18 »
hey guys, i was wondering what do i put in a script or trigger to make a song continues;y play over and over?. cant work it out.
cheers
bronson

Navy_Seals

  • Guest
Re:Looping A song
« Reply #1 on: 13 Nov 2002, 18:13:49 »
;small script for looping music or sound
_i = 0;
#loop
_i = _i + 1
playmusic "name of ur song"
~70 - the length of the song
? (_i <= 5): goto "end" <- change 5 to any number of times u want the song to loop
goto "loop"

#end
ForceEnd
exit