Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Clear screen
- term.setBackgroundColor(colors.black)
- term.clear()
- term.setCursorPos(1,1)
- -- If isnt installed
- if not fs.exists("/ZanqualScript") then
- -- Copy all the files to computer
- fs.copy("/disk/ZanqualScript","/ZanqualScript")
- -- ^ anything in /disk/ZanqualScript is copied
- -- Print successfully installed
- print([[
- Successfully installed Zanqual Script
- Press any key to exit
- ]])
- -- If is installed
- else
- -- Printalready installed
- print([[
- Already installed Zanqual Script
- Press any key to exit
- ]])
- end
- -- Waits for any key
- os.pullEventRaw("key")
- -- Ejects the disk
- peripheral.find("drive").ejectDisk()
- -- Clear screen
- term.setBackgroundColor(colors.black)
- term.clear()
- term.setCursorPos(1,1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement