Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ------------------------------------
- --Testscript for Daniel by Muzze77--
- ------------------------------------
- local time = 0
- local function timer()
- time = time+1
- rs.setOutput("right", true)
- print("Vergangende Zeit: ")
- sleep(0.5)
- write(time)
- rs.setOutput("right", false)
- sleep(0.5)
- shell.run("clear")
- end
- ------------------------------------
- while rs.getInput("left") == true do
- timer()
- end
- print("Kein Input")
- sleep(1)
- shell.run("reboot")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement