I've just created something similar for an FPSC competition. I don't have the script on this computer, but i'll try and post it this evening.
In principle the script works as follows:
Trigger Zone 1: sets activation level of door to 10 using:
:state=1,plrinzone=1:settargetname=door01,activatetarget=10
Trigger Zone 2: sets activation level of door to 100 using:
:state=1,plrinzone=1:settargetname=door01,activatetarget=100
the door's main script is then modified so that it opens when it's activation level is 10 and closes when it's 100 using the "activated=" condition.
[url="http://raptr.com/No_Turn_Right?src=em_forum"]
[/url]