Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local args = { ... }
- if #args ~= 2 then return false end
- local user = args[1]
- local pass = args[2]
- if (type(user) ~= "string" or type(pass) ~= "string") then return false end
- local file = fs.open("database/users", "a")
- local writeable = user .. " : " .. pass
- file.write(writeable .. "\n")
- file.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement