Advertisement
Dima99

receive

Nov 14th, 2015
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.20 KB | None | 0 0
  1. side = "top"
  2. tempFileName = "tempF"
  3.  
  4. rednet.open(side)
  5. os.loadAPI("lib")
  6. local id, msg = rednet.receive()
  7. local string = msg
  8. lib.unstring(tempFileName, string)
  9. print("Received file from id "..id)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement