Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function cls()
- term.clear()
- term.setCursorPos()
- end
- function name()
- local name = user
- cls()
- write("What would you like your name to be?")
- name = read()
- password()
- end
- function password()
- local password = admin
- write("Welcome "..first..", Type a password you'd want to use.")
- password = read()
- end
- function first_name()
- if name == nil then
- name()
- end
- end
- function first_password()
- if password == nil then
- password()
- end
- end
- first_name()
- first_password()
- print(name, password)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement