try this:

string misc_snd = <misc.wav>; //misc = name of sound

function event_touched
{
if(event_type == event_impact)
{
ent_playsound(my,misc_wav,50);
}
}

action touch_me
{
my.enable_impact = on;
my.event = event_touched;
...