Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function pass1()
- term.clear()
- term.setCursorPos(1, 1)
- print("Please Enter Password:")
- input = read()
- if input == "password" then
- print("Password Accepted!")
- pass2()
- else
- print("Password Denied!")
- end
- end
- function pass2()
- term,clear()
- --term.setCursorPos(1, 1)
- print("Please Enter 2nd Password:")
- input = read()
- if input == "stargate" then
- print("2nd Password Accepted!")
- else
- print("Password Denied!")
- print("Falling Back!")
- sleep(2)
- pass1()
- end
- end
- while true do
- pass1()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement