I'd like to set a sound to play according to a variable value.
If X=1, set $sound to "sound1"
If X=2, set $sound to "sound2"
I know this is not in the correct syntax, but I hope you can get an idea of what I am trying to do.
Thanks for any help or suggestion