Advertisement
Guest User

report

a guest
Jan 24th, 2015
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.36 KB | None | 0 0
  1. local tfile = {}
  2.  
  3. function load()
  4.   a,b,c = os.run({tfile},"z/load")
  5.   print(a)
  6.   print(b)
  7.   print(c)
  8.   print(tfile)
  9.   for i,j in pairs(tfile) do
  10.     print(i..":"..j)
  11.     end
  12. end
  13.  
  14. function send()
  15. local msg = "{"..os.getComputerLabel().."}"
  16. for n,sLineB in ipairs(tfile) do
  17.   msg = msg.."{"..sLineB.."}"
  18.   end
  19. rednet.broadcast(msg)
  20. end
  21.  
  22. load()
  23. send()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement