SHARE
TWEET

Untitled

a guest Nov 19th, 2019 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. rednet.open("right")
  2. local senderID, all_files_msg, _distance = rednet.receive("fs", 3)
  3. local all_files = textutils.unserialise(all_files_msg)
  4. for name, value in pairs(all_files) do
  5.   local file_handle = fs.open("programs/" .. name, "w")
  6.   file_handle.write(value)
  7.   file_handle.close()
  8. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top