Advertisement
Marlingaming

System1.lua

Jun 14th, 2023 (edited)
796
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.65 KB | None | 0 0
  1. local arg = {...}
  2. local OpenedProgram --File,Page,Var
  3.  
  4. local function Console(Command,A,B,C,D,E,F)
  5. local Mode
  6. 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
  7. end
  8.  
  9. local function SystemInterface(File)
  10. local
  11. end
  12.  
  13. local function SystemBoot(user,Interface)
  14. parallel.waitForAny(Console("loop","listen"),SystemInterface(Interface))
  15. end
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24. if arg[1] == "start" then SystemBoot(arg[2],arg[3]) else Admin() end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement