Advertisement
ccgrffdy

dsd

Dec 18th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. while true do
  2. term.setCursorPos(1,1)
  3. term.clear()
  4. motdepasse = "ON"
  5. print("Pour allumer 'ON'")
  6. text = read("*")
  7. if text == motdepasse then
  8. redstone.setOutput("BACK", true)
  9. else
  10. redstone.setOutput("BACK", FALSE)
  11. end
  12. sleep(5)
  13. END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement