Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --this is the fileChecker program. It verifies if the clearanceVariables and securityVariables files exist. If they do, it does nothing. If they don't, it creates them.
- if fs.exists("/clearanceVariables") then
- --do nothing
- elseif not fs.exists("/clearanceVariables") then
- local h = fs.open("/clearanceVariables","w")
- h.writeLine("GUEST")
- h.close()
- end
- if fs.exists("/securityVariables") then
- --do nothing
- elseif not fs.exists("securityVariables") then
- local i = fs.open("/securityVariables","w")
- i.writeLine("2")
- i.close()
- end
- shell.run("mainloop")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement