Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- this program will loop forever once triggered
- -- cctimer 2! new and improved
- while true do -- this starts the infinite loop
- redstone.setOutput("left", true) -- this sends a redstone signal out the left of the computer
- sleep(1) -- this tells it to wait 1 second
- redstone.setOutput("left", false) -- this tells it to stop the redstone output
- sleep(5) -- this tells it to wait 5 seconds
- redstone.setOutput("back", true)
- sleep(1) -- this tells it to wait 1 second
- redstone.setOutput("back", false)
- sleep(60)
- end -- not sure how this works but its necessary for it to loop successfully
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement