@name Elevator
@inputs L1 L2 L3 Call1 Call2 Call3
@outputs Hyd
@persist Goto
runOnTick(1)
if(L1|Call1){Goto=5}
if(L2|Call2){Goto=668}
if(L3|Call3){Goto=600}
if(Hyd>Goto){Hyd-=1}
if(Hyd<Goto){Hyd+=1}

