That will be pretty simple, you'll need to use "integer" and "random", as in this example:
var randomSound = integer(random(2)); // two random sounds
if(randomSound == 0){
// play first sound here
}
if(randomSound == 1){
// play second sound here
}
But, you have to understand, that the value, which is returned by "integer(random(2));", will be always smaller than "2"!
So if you'll try something like this:
if(randomSound == 2){
// play something here
}
It won't work! Good luck!