Use a function (add a function object), set the triggering event to call the function "sfx" (you can name it what you wish) with whatever parameters you wish as an action. Also pass "sound file" (or some other kind of flag) as parameter 0. Once you get comfortable with using functions you can experiment with multiple parameters.
On function call "sfx":
Define/add a local variable for "sound file" under the function "sfx" called event.
Set "sound file" to function.param(0) (this will retreive parameter 0)
Next do subevents under the function called condition:
on "sound file"=whatever
play sound applicable to whatever