Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.pullEvent = os.pullEventRaw
- local pullEvent = os.pullEvent
- os.pullEvent = os.pullEventRaw
- os.pullEvent = pullEvent
- local opentime = 10
- os.pullEvent = os.pullEventRaw
- local pullEvent = os.pullEvent
- os.pullEvent = os.pullEventRaw
- os.pullEvent = pullEvent
- yn = read()
- local yn = "y"
- while true do
- term.clear()
- term.setCursorPos(1,1)
- print("Type Y to leave.")
- yn = read()
- rs.setOutput("back", true)
- rs.setOutput("left", true)
- sleep(opentime)
- rs.setOutput("back", false)
- rs.setOutput("left", false)
- end
Advertisement
Add Comment
Please, Sign In to add comment