Rolcam

CC - Basic Door Opener

May 26th, 2021 (edited)
320
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.21 KB | None | 0 0
  1. term.clear()
  2. term.setCursorPos(1,1)
  3. print("Door Open")
  4. rs.setOutput("left", true)
  5. rs.setOutput("right", true)
  6. print("Press enter to close")
  7. read()
  8. rs.setOutput("left", false)
  9. rs.setOutput("right", false)
Add Comment
Please, Sign In to add comment