Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- password=("Mainworld")
- term.clear()
- print("What is Mainworld's world name?")
- x = read()
- term.write("Answer: ")
- if password == x
- then print("Thats right! door is open!")
- rs.setOutput("left", true)
- sleep(5)
- rs.setOutput("left", false)
- term.clear()
- os.reboot()
- else print("No that isnt right")
- rs.setOutput("bottom", true)
- sleep(5)
- rs.setOutput("bottom", false)
- term.clear()
- os.reboot()
- end
Add Comment
Please, Sign In to add comment