Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.clear()
- term.setCursorPos(1, 1)
- os.pullEvent=os.pullEventRaw
- print("Pasword:")
- input = read("*")
- if input == "9339" then --this line containes the pasword to open the door
- term.clear()
- term.setCursorPos(1, 1)
- redstone.setOutput("right", true)
- print("Welcome")
- sleep(3)
- redstone.setOutput("right", false)
- os.reboot()
- elseif input == "terminal.admin_69.420 = terminate" then --this line containes the default acces to the code as the ctr+t has been disabled
- term.clear()
- term.setCursorPos(1, 1)
- print("Welcome to the terminal!")
- sleep(1)
- error()
- else
- term.clear()
- term.setCursorPos(1, 1)
- print("Sorry, please try again...")
- sleep(2)
- os.reboot()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement