Quote:
Originally Posted by Cybertims
ok mate......one more question.
is it possbile to have it simply play a random wav file instead of ones only named message1.wav, meassge2.wav?
Cheers.
|
Unfortunately my Javascript isnt the best so im limited to whats above, but im sure a pure PHP script could be written to check the folder for sound files and then make an array of the sounds in there and randomise them. Its getting that to work with vBulletin without conflict that might make it a bit tougher.
I just found it easier to rename the wav files to message1 message2 etc etc
and if you have more , just change the p=10 to p=11 and so on