

#otvor
? zav1 : goto "br1"

~1

goto "otvor"

#br1

br1 animate ["arm", 1] 


#zat

? zavora1 : goto "zatvor1"

~3

goto "zat"

#zatvor1

~1

br1 animate ["arm", 0] 
~1
zav1 = false
zavora1 = false


exit