Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Installer Script v0.1
- print("Installing authServer")
- shell.run("pastebin", "get" ,"aez6DhWB", "authServer.lua")
- print("Installing Command Interpreter")
- shell.run("pastebin", "get", "sygJd2Wu", "commandprocessor.lua")
- print("")
- uname = {}
- pword = {}
- authLevel = {5}
- print("Please enter the following information: ")
- write("Username: ")
- input = read()
- table.insert(uname, input)
- print("")
- write("Password: ")
- input = read()
- table.insert(pword, input)
- print("")
- print("Dont forget this information!")
- print("It is the master account.")
- sleep(1)
- print("Saving information...")
- f = fs.open("uname", "w")
- f.write(textutils.serialise(uname))
- f.close()
- f = fs.open("pword", "w")
- f.write(textutils.serialise(pword))
- f.close()
- f = fs.open("authLevel", "w")
- f.write(textutils.serialise(authLevel))
- f.close()
- sleep(1)
- print("Saved!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement