Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print'Checking...'
- doors = {0,1,1,1,1}
- doorname = {"Unit 1A", "Unit 1B", "Unit 1A&B", "Unit 2", "Unit 3"}
- if doors[doornum] == 1 then
- rs.setOutput("left",true)
- sleep(5)
- rs.setOutput("left",false)
- end
- if doors[doornum] == 0 then
- rs.setOutput("bottom",true)
- sleep(2)
- rs.setOutput("bottom",false)
- end
Add Comment
Please, Sign In to add comment