Here's a couple of scripts, hope they help..
Remote door open, becomes auto door.
;Artificial Intelligence Script
;Header
desc = Remote Controlled Door (Open and Auto Close)
;Triggers
:state=9,activated=0:state=10
:state=9,anywithin=50:state=11,setframe=0,sound=$0
:state=11:incframe=0
:state=11,frameatend=0:state=12,coloff
:state=12,anyfurther=60:state=13,sound=$1,colon
:state=13:decframe=0
:state=13,frameatstart=0:state=9,setframe=0
:state=0:hudreset,hudx=55,hudy=90,hudimagefine=gamecore\huds\remote.bmp,hudname=usedoorprompt8,hudhide=1,hudmake=display
:state=0,activated=1:state=1,setframe=0,sound=$0
:state=0,activated=0:state=10
:state=10,plrdistwithin=60:hudshow=usedoorprompt8,hudfadeout=usedoorprompt8
:state=10:state=0
:state=1:incframe=0
:state=1,frameatend=0:state=2,coloff
:state=2,activated=1,anyfurther=80:state=9,sound=$1,colon
:state=2,activated=0:state=3,sound=$1,colon
:state=3:decframe=0
:state=3,frameatstart=0,setframe=0
:state=9:decframe=0
:state=9,frameatstart=0,setframe=0
;End of Script
Remote door open, stays open
;Artificial Intelligence Script
;Header
desc = Remote Controlled Door (Open and Stay open)
;Triggers
:state=0:hudreset,hudx=55,hudy=90,hudimagefine=gamecore\huds\remote.bmp,hudname=usedoorprompt8,hudhide=1,hudmake=display
:state=0,activated=1:state=1,setframe=0,sound=$0
:state=0,activated=0:state=10
:state=10,plrdistwithin=60:hudshow=usedoorprompt8,hudfadeout=usedoorprompt8
:state=10:state=0
:state=1:incframe=0
:state=1,frameatend=0:state=2,coloff
:state=2,activated=0:state=3,sound=$1,colon
:state=3:decframe=0
:state=3,frameatstart=0:state=0,setframe=0
;End of Script
You might need to change the hud path to one of your own.
BTW - this should probably be in the scripting forum