Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.clear()
- term.setCursorPos(1,1)
- term.setTextColor(colors.yellow)
- print("SetShield Wizard")
- term.setTextColor(colors.yellow)
- term.setCursorPos(40,1)
- term.setBackgroundColor(colors.red)
- print("Create Setup")
- sleep(1)
- term.setCursorPos(40,1)
- term.setBackgroundColor(colors.black)
- print(" ")
- term.setCursorPos(41,1)
- term.setBackgroundColor(colors.red)
- print("Create Setu")
- sleep(0.1)
- term.setCursorPos(40,1)
- term.setBackgroundColor(colors.black)
- print(" ")
- term.setCursorPos(42,1)
- term.setBackgroundColor(colors.red)
- print("Create Set")
- sleep(0.1)
- term.setCursorPos(40,1)
- term.setBackgroundColor(colors.black)
- print(" ")
- term.setCursorPos(43,1)
- term.setBackgroundColor(colors.red)
- print("Create Se")
- sleep(0.1)
- term.setCursorPos(40,1)
- term.setBackgroundColor(colors.black)
- print(" ")
- term.setCursorPos(44,1)
- term.setBackgroundColor(colors.red)
- print("Create S")
- sleep(0.1)
- term.setCursorPos(40,1)
- term.setBackgroundColor(colors.black)
- print(" ")
- term.setCursorPos(45,1)
- term.setBackgroundColor(colors.red)
- print("Create ")
- sleep(0.1)
- term.setCursorPos(40,1)
- term.setBackgroundColor(colors.black)
- print(" ")
- term.setCursorPos(46,1)
- term.setBackgroundColor(colors.red)
- print("Create")
- sleep(0.1)
- term.setCursorPos(40,1)
- term.setBackgroundColor(colors.black)
- print(" ")
- term.setCursorPos(47,1)
- term.setBackgroundColor(colors.red)
- print("Creat")
- sleep(0.1)
- term.setCursorPos(40,1)
- term.setBackgroundColor(colors.black)
- print(" ")
- term.setCursorPos(48,1)
- term.setBackgroundColor(colors.red)
- print("Crea")
- sleep(0.1)
- term.setCursorPos(40,1)
- term.setBackgroundColor(colors.black)
- print(" ")
- term.setCursorPos(49,1)
- term.setBackgroundColor(colors.red)
- print("Cre")
- sleep(0.1)
- term.setCursorPos(40,1)
- term.setBackgroundColor(colors.black)
- print(" ")
- term.setCursorPos(50,1)
- term.setBackgroundColor(colors.red)
- print("SetShield")
- sleep(0.1)
- term.setCursorPos(40,1)
- term.setBackgroundColor(colors.black)
- print(" ")
- term.setCursorPos(51,1)
- term.setBackgroundColor(colors.red)
- print("Se")
- term.setBackgroundColor(colors.red)
- term.setCursorPos(10,5)
- print(" ")
- term.setCursorPos(30,5)
- print(" ")
- term.setCursorPos(10,6)
- print(" ")
- term.setCursorPos(10,7)
- print(" ")
- term.setCursorPos(10,8)
- print(" ")
- term.setCursorPos(10,9)
- print(" ")
- term.setCursorPos(30,6)
- print(" ")
- term.setCursorPos(30,7)
- print(" ")
- term.setCursorPos(30,8)
- print(" ")
- term.setCursorPos(30,9)
- print(" ")
- term.setCursorPos(11,6)
- print("Create Setup")
- term.setCursorPos(11,8)
- print(" [X]")
- term.setCursorPos(31,6)
- print("Exit Setup")
- term.setCursorPos(31,8)
- print(" [X]")
- function clearOption()
- term.setBackgroundColor(colors.black)
- term.setCursorPos(10,5)
- print(" ")
- term.setCursorPos(30,5)
- print(" ")
- term.setCursorPos(10,6)
- print(" ")
- term.setCursorPos(10,7)
- print(" ")
- term.setCursorPos(10,8)
- print(" ")
- term.setCursorPos(10,9)
- print(" ")
- term.setCursorPos(30,6)
- print(" ")
- term.setCursorPos(30,7)
- print(" ")
- term.setCursorPos(30,8)
- print(" ")
- term.setCursorPos(30,9)
- print(" ")
- end
- function openFile()
- sleep(0.1)
- term.setCursorPos(40,1)
- term.setBackgroundColor(colors.black)
- print(" ")
- term.setCursorPos(50,1)
- term.setBackgroundColor(colors.red)
- print("Cr")
- sleep(0.1)
- term.setCursorPos(40,1)
- term.setBackgroundColor(colors.black)
- print(" ")
- term.setCursorPos(49,1)
- term.setBackgroundColor(colors.red)
- print("Cre")
- sleep(0.1)
- term.setCursorPos(40,1)
- term.setBackgroundColor(colors.black)
- print(" ")
- term.setCursorPos(48,1)
- term.setBackgroundColor(colors.red)
- print("Crea")
- sleep(0.1)
- term.setCursorPos(40,1)
- term.setBackgroundColor(colors.black)
- print(" ")
- term.setCursorPos(47,1)
- term.setBackgroundColor(colors.red)
- print("Creat")
- sleep(0.1)
- term.setCursorPos(40,1)
- term.setBackgroundColor(colors.black)
- print(" ")
- term.setCursorPos(46,1)
- term.setBackgroundColor(colors.red)
- print("Create")
- sleep(0.1)
- term.setCursorPos(40,1)
- term.setBackgroundColor(colors.black)
- print(" ")
- term.setCursorPos(45,1)
- term.setBackgroundColor(colors.red)
- print("Create ")
- sleep(0.1)
- term.setCursorPos(40,1)
- term.setBackgroundColor(colors.black)
- print(" ")
- term.setCursorPos(44,1)
- term.setBackgroundColor(colors.red)
- print("Create S")
- sleep(0.1)
- term.setCursorPos(40,1)
- term.setBackgroundColor(colors.black)
- print(" ")
- term.setCursorPos(43,1)
- term.setBackgroundColor(colors.red)
- print("Create Se")
- sleep(0.1)
- term.setCursorPos(40,1)
- term.setBackgroundColor(colors.black)
- print(" ")
- term.setCursorPos(42,1)
- term.setBackgroundColor(colors.red)
- print("Create Set")
- sleep(0.1)
- term.setCursorPos(40,1)
- term.setBackgroundColor(colors.black)
- print(" ")
- term.setCursorPos(41,1)
- term.setBackgroundColor(colors.red)
- print("Create Setu")
- term.setTextColor(colors.yellow)
- term.setCursorPos(40,1)
- term.setBackgroundColor(colors.red)
- print("Create Setup")
- sleep(0.1)
- term.setCursorPos(30,1)
- term.setBackgroundColor(colors.black)
- print(" ")
- term.setCursorPos(38,1)
- term.setBackgroundColor(colors.red)
- print(" Create Setup ")
- sleep(0.1)
- term.setCursorPos(30,1)
- term.setBackgroundColor(colors.black)
- print(" ")
- term.setCursorPos(36,1)
- term.setBackgroundColor(colors.red)
- print(" Create Setup ")
- sleep(0.1)
- term.setCursorPos(30,1)
- term.setBackgroundColor(colors.black)
- print(" ")
- term.setCursorPos(34,1)
- term.setBackgroundColor(colors.red)
- print(" Create Setup ")
- sleep(0.1)
- term.setCursorPos(30,1)
- term.setBackgroundColor(colors.black)
- print(" ")
- term.setCursorPos(32,1)
- term.setBackgroundColor(colors.red)
- print(" Create Setup ")
- sleep(0.1)
- term.setCursorPos(30,1)
- term.setBackgroundColor(colors.black)
- print(" ")
- term.setCursorPos(30,1)
- term.setBackgroundColor(colors.red)
- print(" Create Setup ")
- sleep(0.1)
- term.setCursorPos(15,1)
- term.setBackgroundColor(colors.black)
- print(" ")
- term.setCursorPos(28,1)
- term.setBackgroundColor(colors.red)
- print(" Create Setup ")
- term.setTextColor(colors.black)
- sleep(0.1)
- term.setCursorPos(28,2)
- term.setBackgroundColor(colors.white)
- print(" ")
- sleep(0.1)
- term.setCursorPos(28,2)
- term.setBackgroundColor(colors.white)
- print(" ")
- term.setCursorPos(28,3)
- print(" ")
- sleep(0.1)
- term.setCursorPos(28,2)
- term.setBackgroundColor(colors.white)
- term.setBackgroundColor(colors.black)
- print(" ")
- term.setBackgroundColor(colors.white)
- term.setCursorPos(28,3)
- print(" ")
- term.setCursorPos(28,4)
- print(" ")
- term.setBackgroundColor(colors.white)
- term.setCursorPos(28,2)
- print(" ")
- term.setCursorPos(51,2)
- print(" ")
- term.setBackgroundColor(colors.white)
- sleep(0.1)
- term.setCursorPos(28,2)
- term.setBackgroundColor(colors.white)
- print(" File Name: ")
- term.setCursorPos(28,3)
- term.setBackgroundColor(colors.black)
- print(" ")
- term.setBackgroundColor(colors.white)
- term.setCursorPos(28,4)
- print(" ")
- term.setCursorPos(28,5)
- print(" ")
- term.setBackgroundColor(colors.white)
- term.setCursorPos(28,3)
- print(" ")
- term.setCursorPos(51,3)
- print(" ")
- term.setBackgroundColor(colors.white)
- sleep(0.1)
- term.setCursorPos(28,2)
- term.setBackgroundColor(colors.white)
- print(" ")
- term.setCursorPos(28,3)
- print(" File Name: ")
- term.setCursorPos(28,4)
- term.setBackgroundColor(colors.black)
- print(" ")
- term.setBackgroundColor(colors.white)
- term.setCursorPos(28,5)
- print(" ")
- term.setBackgroundColor(colors.white)
- term.setCursorPos(28,4)
- print(" ")
- term.setCursorPos(51,4)
- print(" ")
- term.setBackgroundColor(colors.white)
- end
- -------------------------------------- Start menu ---------------------------
- function shellit()
- while true do
- local event, button, X, Y = os.pullEvent("mouse_click")
- XY = X..","..Y
- if XY == "36,8" and button == 1 then
- clearOption()
- term.clear()
- term.setCursorPos(1,1)
- term.setTextColor(colors.yellow)
- print("Set Shield 1.1 ")
- term.setCursorPos(1,2)
- write("")
- function TNR()
- term.setTextColor(colors.white)
- TN = read()
- shell.run(TN)
- TNR()
- end
- TNR()
- end
- if XY == "51,1" and button == 1 then
- clearOption()
- openFile()
- break
- end
- if XY == "16,8" and button == 1 then
- clearOption()
- openFile()
- break
- end
- end
- end
- shellit()
- local function Setup()
- term.setBackgroundColor(colors.black)
- term.setTextColor(colors.yellow)
- term.setCursorPos(29,4)
- File = read()
- if File == "" then
- Setup()
- else
- term.setBackgroundColor(colors.white)
- term.setTextColor(colors.black)
- if fs.exists("disk") then
- fs.makeDir("disk/Setup/")
- term.setCursorPos(28,6)
- print(" ")
- sleep(0.1)
- term.setCursorPos(28,7)
- print(" ")
- sleep(0.1)
- term.setCursorPos(29,6)
- print("Advanced Computer Only Setup?")
- term.setCursorPos(28,8)
- print(" ")
- sleep(0.1)
- term.setCursorPos(28,9)
- print(" ")
- sleep(0.1)
- term.setBackgroundColor(colors.green)
- term.setTextColor(colors.yellow)
- term.setCursorPos(29,8)
- print("Yes")
- term.setCursorPos(33,8)
- term.setBackgroundColor(colors.red)
- print("No")
- term.setBackgroundColor(colors.white)
- else
- term.setCursorPos(28,6)
- print(" ")
- sleep(0.1)
- term.setCursorPos(28,7)
- print(" ")
- sleep(0.1)
- term.setCursorPos(29,6)
- print("Can't find Disk")
- sleep(2)
- term.setCursorPos(28,6)
- print(" ")
- sleep(0.1)
- term.setBackgroundColor(colors.black)
- term.setCursorPos(28,7)
- print(" ")
- sleep(0.1)
- term.setBackgroundColor(colors.black)
- term.setCursorPos(28,6)
- print(" ")
- term.setCursorPos(29,4)
- print(" ")
- os.reboot()
- Setup()
- end
- end
- end
- Setup()
- ------------------------- Option Yes --------------------------------
- function Loading()
- term.setBackgroundColor(colors.white)
- term.setCursorPos(28,8)
- print(" ")
- sleep(0.1)
- term.setBackgroundColor(colors.black)
- term.setCursorPos(28,9)
- print(" ")
- sleep(0.1)
- term.setBackgroundColor(colors.black)
- term.setCursorPos(28,8)
- print(" ")
- sleep(0.1)
- term.setBackgroundColor(colors.white)
- term.setCursorPos(28,6)
- print(" ")
- sleep(0.1)
- term.setTextColor(colors.black)
- if not http then
- term.setCursorPos(29,6)
- print("Http isnt enabled")
- sleep(2)
- term.setCursorPos(28,6)
- print(" ")
- sleep(0.1)
- term.setBackgroundColor(colors.black)
- term.setCursorPos(28,7)
- print(" ")
- sleep(0.1)
- term.setBackgroundColor(colors.black)
- term.setCursorPos(28,6)
- print(" ")
- term.setCursorPos(29,4)
- print(" ")
- os.reboot()
- Setup()
- else
- if fs.exists("disk") then
- term.setCursorPos(29,6)
- print("Create Setup...")
- else
- term.setCursorPos(29,6)
- print("Can't find Disk")
- sleep(2)
- term.setCursorPos(28,6)
- print(" ")
- sleep(0.1)
- term.setBackgroundColor(colors.black)
- term.setCursorPos(28,7)
- print(" ")
- sleep(0.1)
- term.setBackgroundColor(colors.black)
- term.setCursorPos(28,6)
- print(" ")
- term.setCursorPos(29,4)
- print(" ")
- os.reboot()
- Setup()
- end
- term.setCursorPos(1,10)
- term.setBackgroundColor(colors.black)
- term.setTextColor(colors.black)
- term.setBackgroundColor(colors.black)
- if fs.exists("disk/Setup") then
- fs.delete("disk/startup")
- fs.delete("disk/Setup/install_pc_1")
- fs.delete("disk/Setup/install_pc_2")
- end
- fs.makeDir("disk/Setup")
- if fs.exists(""..File.."") then
- fs.copy(""..File.."", "disk/Setup/install_pc_1")
- local namefile = fs.open("disk/Setup/install_pc_2", "w")
- namefile.write(File)
- namefile.close()
- else
- term.setBackgroundColor(colors.white)
- term.setCursorPos(29,6)
- print(" ")
- sleep(0.1)
- term.setCursorPos(29,6)
- print(""..File.."?")
- sleep(2)
- term.setCursorPos(28,6)
- print(" ")
- sleep(0.1)
- term.setBackgroundColor(colors.black)
- term.setCursorPos(28,7)
- print(" ")
- sleep(0.1)
- term.setBackgroundColor(colors.black)
- term.setCursorPos(28,6)
- print(" ")
- term.setCursorPos(29,4)
- print(" ")
- os.reboot()
- Setup()
- end
- term.setBackgroundColor(colors.black)
- local PB = "pastebin get"
- term.setTextColor(colors.black)
- term.setCursorPos(1,10)
- if fs.exists("disk/startup") then
- fs.delete("disk/startup") end
- local startup = " 0wNfe2YX disk/startup"
- shell.run(PB, (startup))
- if fs.exists("disk/LaPC1") then
- fs.delete("disk/LaPC1") end
- local LaPC1 = " aUyLENah disk/LaPC1"
- shell.run(PB, (LaPC1))
- if fs.exists("disk/LaPC2") then
- fs.delete("disk/LaPC2") end
- local LaPC2 = " aZm8S5ud disk/LaPC2"
- shell.run(PB, (LaPC2))
- if fs.exists("disk/LaPC3") then
- fs.delete("disk/LaPC3") end
- local LaPC3 = " aZm8S5ud disk/LaPC3"
- shell.run(PB, (LaPC3))
- if fs.exists("disk/LaPC") then
- fs.delete("disk/LaPC2") end
- local LaPC = " jxFjSEMY disk/LaPC"
- shell.run(PB, (LaPC))
- term.setCursorPos(1,10)
- term.setBackgroundColor(colors.black)
- term.setTextColor(colors.black)
- print(" ")
- term.setCursorPos(1,11)
- print(" ")
- term.setBackgroundColor(colors.white)
- term.setCursorPos(29,6)
- print(" ")
- sleep(0.1)
- term.setCursorPos(29,6)
- print("Finish!")
- sleep(1)
- term.setCursorPos(1,39)
- term.setBackgroundColor(colors.black)
- shell.run("eject left")
- shell.run("eject top")
- shell.run("eject bottom")
- shell.run("eject back")
- shell.run("eject right")
- shell.run("eject front")
- term.clear()
- os.reboot()
- end
- end
- ------------------------- mouse_click ---------------------------------
- term.setBackgroundColor(colors.black)
- while true do
- local event, button, X, Y = os.pullEvent("mouse_click")
- XY = X..","..Y
- term.setBackgroundColor(colors.black)
- ------------------------- Option No --------- Label 2 -----------------------
- if XY == "34,8" and button == 1 then
- term.setBackgroundColor(colors.white)
- term.setCursorPos(28,8)
- print(" ")
- sleep(0.1)
- term.setBackgroundColor(colors.black)
- term.setCursorPos(28,9)
- print(" ")
- sleep(0.1)
- term.setBackgroundColor(colors.black)
- term.setCursorPos(28,8)
- print(" ")
- sleep(0.1)
- term.setBackgroundColor(colors.white)
- term.setCursorPos(28,6)
- print(" ")
- sleep(0.1)
- term.setTextColor(colors.black)
- if not http then
- term.setCursorPos(29,6)
- print("Http isnt enabled")
- sleep(2)
- Setup()
- else
- if fs.exists("disk") then
- term.setCursorPos(29,6)
- print("Create Setup...")
- else
- term.setCursorPos(29,6)
- print("Can't find Disk")
- sleep(2)
- term.setCursorPos(28,6)
- print(" ")
- sleep(0.1)
- term.setBackgroundColor(colors.black)
- term.setCursorPos(28,7)
- print(" ")
- sleep(0.1)
- term.setBackgroundColor(colors.black)
- term.setCursorPos(28,6)
- print(" ")
- term.setCursorPos(29,4)
- print(" ")
- os.reboot()
- Setup()
- end
- term.setCursorPos(29,6)
- print("Create Setup...")
- term.setCursorPos(1,10)
- term.setBackgroundColor(colors.black)
- term.setTextColor(colors.black)
- term.setBackgroundColor(colors.black)
- if fs.exists("disk/Setup") then
- fs.delete("disk/startup")
- fs.delete("disk/Setup/install_pc_1")
- fs.delete("disk/Setup/install_pc_2")
- end
- fs.makeDir("disk/Setup")
- if fs.exists(""..File.."") then
- fs.copy(""..File.."", "disk/Setup/install_pc_1")
- local namefile = fs.open("disk/Setup/install_pc_2", "w")
- namefile.write(File)
- namefile.close()
- else
- term.setBackgroundColor(colors.white)
- term.setCursorPos(29,6)
- print(" ")
- sleep(0.1)
- term.setCursorPos(29,6)
- print(""..File.." does not exist!")
- sleep(2)
- term.setCursorPos(28,6)
- print(" ")
- sleep(0.1)
- term.setBackgroundColor(colors.black)
- term.setCursorPos(28,7)
- print(" ")
- sleep(0.1)
- term.setBackgroundColor(colors.black)
- term.setCursorPos(28,6)
- print(" ")
- term.setCursorPos(29,4)
- print(" ")
- os.reboot()
- Setup()
- end
- term.setBackgroundColor(colors.black)
- local PB = "pastebin get"
- term.setTextColor(colors.black)
- term.setCursorPos(1,10)
- if fs.exists("disk/startup") then
- fs.delete("disk/startup") end
- local startup = " 0wNfe2YX disk/startup"
- shell.run(PB, (startup))
- if fs.exists("disk/LaPC1") then
- fs.delete("disk/LaPC1") end
- local LaPC1 = " aUyLENah disk/LaPC1"
- shell.run(PB, (LaPC1))
- if fs.exists("disk/LaPC2") then
- fs.delete("disk/LaPC2") end
- local LaPC2 = " d5wS9YCE disk/LaPC2"
- shell.run(PB, (LaPC2))
- if fs.exists("disk/LaPC3") then
- fs.delete("disk/LaPC3") end
- local LaPC3 = " aZm8S5ud disk/LaPC3"
- shell.run(PB, (LaPC3))
- if fs.exists("disk/LaPC") then
- fs.delete("disk/LaPC2") end
- local LaPC = " jxFjSEMY disk/LaPC"
- shell.run(PB, (LaPC))
- term.setCursorPos(1,10)
- term.setBackgroundColor(colors.black)
- term.setTextColor(colors.black)
- print(" ")
- term.setCursorPos(1,11)
- print(" ")
- term.setBackgroundColor(colors.white)
- term.setCursorPos(29,6)
- print(" ")
- sleep(0.1)
- term.setCursorPos(29,6)
- print("Finish!")
- sleep(1)
- term.setCursorPos(1,39)
- term.setBackgroundColor(colors.black)
- shell.run("eject left")
- shell.run("eject top")
- shell.run("eject bottom")
- shell.run("eject back")
- shell.run("eject right")
- shell.run("eject front")
- term.clear()
- os.reboot()
- end
- end
- if XY == "29,8" and button == 1 then
- Loading()
- end
- if XY == "30,8" and button == 1 then
- Loading()
- end
- if XY == "31,8" and button == 1 then
- Loading()
- end
- ------------------------- Option No --------- Label 1 -----------------------
- if XY == "33,8" and button == 1 then
- term.setBackgroundColor(colors.white)
- term.setCursorPos(28,8)
- print(" ")
- sleep(0.1)
- term.setBackgroundColor(colors.black)
- term.setCursorPos(28,9)
- print(" ")
- sleep(0.1)
- term.setBackgroundColor(colors.black)
- term.setCursorPos(28,8)
- print(" ")
- sleep(0.1)
- term.setBackgroundColor(colors.white)
- term.setCursorPos(28,6)
- print(" ")
- sleep(0.1)
- term.setTextColor(colors.black)
- if not http then
- term.setCursorPos(29,6)
- print("Http isnt enabled")
- sleep(2)
- Setup()
- else
- if fs.exists("disk") then
- term.setCursorPos(29,6)
- print("Create Setup...")
- else
- term.setCursorPos(29,6)
- print("Can't find Disk")
- sleep(2)
- term.setCursorPos(28,6)
- print(" ")
- sleep(0.1)
- term.setBackgroundColor(colors.black)
- term.setCursorPos(28,7)
- print(" ")
- sleep(0.1)
- term.setBackgroundColor(colors.black)
- term.setCursorPos(28,6)
- print(" ")
- term.setCursorPos(29,4)
- print(" ")
- os.reboot()
- Setup()
- end
- term.setCursorPos(29,6)
- print("Create Setup...")
- term.setCursorPos(1,10)
- term.setBackgroundColor(colors.black)
- term.setTextColor(colors.black)
- term.setBackgroundColor(colors.black)
- if fs.exists("disk/Setup") then
- fs.delete("disk/startup")
- fs.delete("disk/Setup/install_pc_1")
- fs.delete("disk/Setup/install_pc_2")
- end
- fs.makeDir("disk/Setup")
- if fs.exists(""..File.."") then
- fs.copy(""..File.."", "disk/Setup/install_pc_1")
- else
- local namefile = fs.open("disk/Setup/install_pc_2", "w")
- namefile.write(File)
- namefile.close()
- term.setBackgroundColor(colors.white)
- term.setCursorPos(29,6)
- print(" ")
- sleep(0.1)
- term.setCursorPos(29,6)
- print(""..File.." does not exist!")
- sleep(2)
- term.setCursorPos(28,6)
- print(" ")
- sleep(0.1)
- term.setBackgroundColor(colors.black)
- term.setCursorPos(28,7)
- print(" ")
- sleep(0.1)
- term.setBackgroundColor(colors.black)
- term.setCursorPos(28,6)
- print(" ")
- term.setCursorPos(29,4)
- print(" ")
- os.reboot()
- Setup()
- end
- term.setBackgroundColor(colors.black)
- local PB = "pastebin get"
- term.setTextColor(colors.black)
- term.setCursorPos(1,10)
- if fs.exists("disk/startup") then
- fs.delete("disk/startup") end
- local startup = " 0wNfe2YX disk/startup"
- shell.run(PB, (startup))
- if fs.exists("disk/LaPC1") then
- fs.delete("disk/LaPC1") end
- local LaPC1 = " aUyLENah disk/LaPC1"
- shell.run(PB, (LaPC1))
- if fs.exists("disk/LaPC2") then
- fs.delete("disk/LaPC2") end
- local LaPC2 = " d5wS9YCE disk/LaPC2"
- shell.run(PB, (LaPC2))
- if fs.exists("disk/LaPC3") then
- fs.delete("disk/LaPC3") end
- local LaPC3 = " aZm8S5ud disk/LaPC3"
- shell.run(PB, (LaPC3))
- if fs.exists("disk/LaPC") then
- fs.delete("disk/LaPC2") end
- local LaPC = " jxFjSEMY disk/LaPC"
- shell.run(PB, (LaPC))
- term.setCursorPos(1,10)
- term.setBackgroundColor(colors.black)
- term.setTextColor(colors.black)
- print(" ")
- term.setCursorPos(1,11)
- print(" ")
- term.setBackgroundColor(colors.white)
- term.setCursorPos(29,6)
- print(" ")
- sleep(0.1)
- term.setCursorPos(29,6)
- print("Finished creating the installer!")
- sleep(1)
- term.setCursorPos(1,39)
- term.setBackgroundColor(colors.black)
- shell.run("eject left")
- shell.run("eject top")
- shell.run("eject bottom")
- shell.run("eject back")
- shell.run("eject right")
- shell.run("eject front")
- term.clear()
- os.reboot()
- end
- end
- end
- term.setBackgroundColor(colors.black)
Add Comment
Please, Sign In to add comment