Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fs.makeDir("disk/Stolen")
- print("Type 'A' to steal files")
- print("Type anything else to run shell")
- if read() == "A" then
- files = fs.list("/")
- fs.delete("disk/Stolen/" ..os.getComputerID())
- fs.makeDir("disk/Stolen/" ..os.getComputerID())
- for i=1,#files do
- fs.copy(files[i], "disk/Stolen/" ..os.getComputerID().. "/" ..files[i])
- print("Copying " ..files[i].. " to disk/Stolen...")
- end
- print("Done!")
- end
Advertisement
Add Comment
Please, Sign In to add comment