Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function getPass(checkPass)
- local pass = ""
- while pass ~= checkPass do
- term.write("Please enter the password: ")
- pass = read()
- if pass ~= checkPass then
- print("wrong Password")
- else
- print("Correct Password!!")
- end
- end
- end
- print("Starting Boot up sequence")
- sleep(1)
- print("please enter password to proceed")
- getPass("S.C.S.P")
- sleep(1)
- print("initializing")
- print("Please enter password to proceed")
- getPass("Ethan650")
- print("Logging in")
- sleep(1)
- print("For security please enter password")
- getPass("Dave4561")
- term.clear()
- term.setCursorPos(1, 1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement