Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Login
- --Sasha_King / CC54
- term.clear()
- print(".__________________________.")
- print("| |")
- print("| Login: ", " |")
- print("| Password: ", " |")
- print("|__________________________|")
- term.setCursorPos(9, 4)
- local userName = ("Sasha_King")
- io.read()
- if io.read() == username then
- term.setCursorPos(9, 5)
- return else
- term.setCursorPos(1, 7)
- print("Wrong Username")
- term.setCursorPos(9, 4)
- end
- term.setCursorPos(12, 5)
- local passWord = ("CC54")
- io.read()
- if io.read() == passWord then
- term.clear()
- term.setCursorPos(1, 1)
- else
- term.setCursorPos(8, 1)
- print("Wrong Password")
- term.setCursorPos(9, 5)
- end
- term.clear()
- term.setCursorPos(1, 1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement