rem "Turniket"
rem (Turniket,d1,d2)
Fragment(dM)
Fragment(AT,1)
Fragment(AT,2)
Fragment(DatchOfTurniket,%1)
Fragment(DatchOfTurniket,%2)
Fragment(WaitHideSD)
Fragment(WaitDatch)
Fragment(NoWaitDatch)
Exit
Metka:CloseDoor
HideDoor
DoorSD(----)
Stop
