Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local file = ...
- shell.run("/RaidPro/Dirs")
- local DD = {}
- for i = 1,#Dirs do
- table.insert(DD,fs.open(Dirs[i].."/"..file,"rb"))
- end
- local F = fs.open(file,"wb")
- local function B(x) Q = DD[x].read() return Q end
- repeat
- for i = 1,#DD do
- w = DD[i].read()
- if w ~= nil then
- F.write(w)
- end
- end
- until w == nil
- for i = 1,#DD do
- DD[i].close()
- end
- F.close()
- Dirs = nil
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement