Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print ("Hello there, enter the password please.")
- write ("Password: ")
- p = read()
- if p ~= "athlon" then
- term.clear()
- print("Wrong password!")
- os.sleep(5)
- os.reboot()
- else
- term.clear()
- print ("Welcome arnem!")
- redstone.setOutput("left", true)
- os.sleep(1)
- redstone.setOutput("bottom", true)
- print ("Opened sir arnem!")
- os.sleep(10)
- redstone.setOutput("bottom", false)
- os.sleep(1)
- redstone.setOutput("left", false)
- print("Closed sir Arnem!")
- os.sleep(2)
- os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment