Uman,
i tested the scripts again and nothing did work...not my script, not your script and not the other 2 scripts i have made.
There seems to be a bug in FPSC!
I found the entityname which i have typed in the If Used field of the switch in all If Used fiels of all the other entities in the level (doors, switches, all non static objects) but it had no effect to the other objects...very strange.
After closing FPSC and a new start everything worked fine again.
Here are 2 more tested scripts that should do what you want:
The first one works like the "plrhurtinzone" script and hurts the Player 1 health every frame using the hardcoded "hurt" sound:
;Triggers
:state=0:rundecal=3
:state=0,activated=0,plrdistwithin=40:plraddhealth=-1
:state=0,activated=1:state=1,destroy
;End of Script
But i think you want to use a other sound when the player gets hurt.
This script hurts the player 50 health every 0.5 seconds while he is closer than 40 units to the entity:
;Triggers
:state=0:rundecal=3
:state=0,activated=1,plrdistfurther=40:destroy
:state=0,activated=0,plrdistwithin=40:state=1,TIMERSTART,plraddhealth=-50,plrsound=audiobank\user\deathyell.wav
:state=1,activated=0,plrdistfurther=40:state=0
:state=1,activated=0,plrdistwithin=40,TIMERGREATER=500:state=0
;End of Script