One way I can think of doing it is to add your door to your level and name it something like Door_01.
You'll need to change the MAIN fpi to doorremote.fpi
Then place four switches on a wall. Place the following "DeathSwitch.fpi" into the MAIN fpi of three of the four switches.
;Artificial Intelligence Script
;Header
desc = Switch Activate (kill player on switching)
;Triggers
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\pressentertouse.tga,hudname=useswitchprompt,hudhide=1,hudmake=display,state=10
:plrdistwithin=50:hudshow=useswitchprompt,hudfadeout=useswitchprompt
:state=10,plrdistwithin=50,plrusingaction=1:state=1,plrsound=$0,alttexture=1
:state=1:plrsethealth=1,state=2
:state=2:plrsubhealth=1
;End of Script
Change the "If Used" field in the last switch to Door_01, or whatever you called the door.
[url="http://raptr.com/No_Turn_Right?src=em_forum"]
[/url]