Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- term.setCursorPos(1,1)
- term.clear()
- motdepasse = "ON"
- print("Pour allumer 'ON'")
- text = read("*")
- if text == motdepasse then
- redstone.setOutput("BACK", true)
- else
- redstone.setOutput("BACK", FALSE)
- end
- sleep(5)
- END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement