Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function login()
- term.clear()
- term.setCursorPos(1,1)
- write("Username: ")
- local username=io.read()
- write("Password: ")
- local password=read("*")
- for i=1,#rm[1] do
- if username==rm[1][i]then
- if username==rm[2][i]then
- sleep(5)
- shell.run("clear")
- print("Sucessfully Logged In, Taking you to Menu")
- sleep(5)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement