Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local arg = {...}
- local OpenedProgram --File,Page,Var
- local function Console(Command,A,B,C,D,E,F)
- local Mode
- if Command == "loop" then Mode = A repeat if Mode = "listen" then A,B,C,D,E,F = os.pullEvent("Console") if A == "run" then OpenedProgram = {B,C,D} elseif A == "closeCurrent" then OpenedProgram = nil elseif A == "request" then print("network access wip") end end until A == "end" end
- end
- local function SystemInterface(File)
- local
- end
- local function SystemBoot(user,Interface)
- parallel.waitForAny(Console("loop","listen"),SystemInterface(Interface))
- end
- if arg[1] == "start" then SystemBoot(arg[2],arg[3]) else Admin() end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement