Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("Wich side is the drive?")
- local side = read()
- if peripheral.isPresent(side) then
- if disk.isPresent(side) then
- disk.setLabel(side, "Resagrams")
- print("Preparing Disk")
- sleep(2)
- print("Installing on Disk")
- sleep(2)
- print("Instaling GUI")
- sleep(1)
- if fs.exists("/disk/gui") == false then
- shell.run("pastebin", "get", "tGZFAB7U", "/disk/gui")
- end
- print("Installing nessesary files")
- sleep(1)
- if fs.exists("/disk/pass") == false then
- shell.run("pastebin", "get", "546PnqaE", "/disk/pass")
- end
- print("Installing programs")
- sleep(1)
- if fs.exists("/disk/wizard") == false then
- shell.run("pastebin", "get", "xE4TMJ5e", "/disk/wizard")
- end
- fs.delete(shell.getRunningProgram())
- else
- print("There's not Disk on that drive!")
- end
- else
- print("There's no drive on that side!")
- sleep(5)
- end
Add Comment
Please, Sign In to add comment