Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.clear()
- term.setCursorPos(1,1)
- print("username:")
- n = read()
- if n ~= "spenk" then
- print("User Not Found")
- os.sleep(10)
- os.shutdown()
- else
- print("Password:")
- p = read()
- if p == "arnem" then
- term.clear()
- term.setCursorPos(1,1)
- print("acces granted")
- else
- print("Incorrect password")
- os.sleep(10)
- os.shutdown()
- end
- end
Add Comment
Please, Sign In to add comment