@name 
@inputs 
@outputs 
@persist T E:entity
@trigger 
@model models/props_c17/door01_left.mdl
runOnUse(1)

T++
if(first()){
        E = entity()
        E:setAng(ang(0,0,0))

T = 0}

if(T ==1){
    E:setAng(ang(0,90,0))
}
if(T ==0){
reset()}


if(T>1){
T = 0}
print(T)
