Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local pass = "wasd"
- function clearScreen()
- term.clear()
- term.setCursorPos(1,1)
- end
- clearScreen()
- print(os.getComputerLabel() or os.getComputerID())
- term.write("Login: ")
- user = read()
- term.write("Password: ")
- if read("*") == pass and user == "Areion" then
- clearScreen()
- shell.run("rom/programs/shell")
- else
- print("Username or password incorrect!")
- os.sleep(3)
- clearScreen()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement