Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Derp Password Door thing v0.1
- pass = "password"
- textutils.slowPrint("Derp Password Door thingy v0.1")
- print " "
- sleep(1)
- term.write("Password: ")
- if read("*") == pass then
- term.write("Working")
- sleep(0.5)
- term.write(". ")
- term.clear()
- term.setCursorPos( 1, 1 )
- textutils.slowPrint("Access Granted!")
- else
- print "Doh!"
- end
Advertisement
Add Comment
Please, Sign In to add comment