Heres the door script:
;Artificial Intelligence Script
;Header
desc = Auto Proximity Door (Open and Close)
;Triggers
:state=0:timerstart,state=1
:state=1,timergreater=60000:state=2,setframe=0,sound=$0
:state=2:incframe=0
:state=2,frameatend=0:state=3,coloff
:state=3,anyfurther=100:state=4,sound=$1,colon
:state=4:decframe=0
:state=4,frameatstart=0:state=5,setframe=0
;End of Script
Heres the spawn script:
:state=0:timerstart,state=1
:state=1,timergreater=30000:spawnon,state=2
:state=2:spawnoff,state=0
I dont have the time to test tem but i expect them to work. Have fun!