Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.clear()
- term.setCursorPos(15,8)
- print("Hello")
- print("Chcete zapnout svetla ?")
- print("Napiste Ano : Ne")
- input = read()
- yes = "Ano"
- no = "Ne"
- if input == (yes) then
- print("Svetla zapnuta!")
- redstone.setOutput("back", true )
- shell.run("use2")
- end
- if input == (no) then
- print("Okey, pockam tady!")
- sleep(3)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement