daily pastebin goal
41%
SHARE
TWEET

Untitled

a guest Jan 11th, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. password=("Mainworld")
  2. term.clear()
  3. print("What is Mainworld's world name?")
  4. x = read()
  5. term.write("Answer: ")
  6. if password == x
  7. then print("Thats right! door is open!")
  8. rs.setOutput("left", true)
  9. sleep(5)
  10. rs.setOutput("left", false)
  11. term.clear()
  12. os.reboot()
  13.  
  14. else print("No that isnt right")
  15. rs.setOutput("bottom", true)
  16. sleep(5)
  17. rs.setOutput("bottom", false)
  18. term.clear()
  19. os.reboot()
  20. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top