You can do it like this:
[code]Variable track = Random(9) // 10 tracks
If variable track is = 0 | Play first music
If variable track is = 1 | Play second music
…
[/code]
Instead random you can increase the track as well:
Do = mod(Variable(track) + 1, 10) to the variable track
The mod() is to make the variable go back to 0 when reaches 10.
You can do real random filenames through JS or C++ too: [url]After collision i wanna to play random sound from my choice.]