Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local FL = fs.list("")
- for _, file in ipairs(FL) do
- rednet.send(RAM,file)
- end
- local wt=0
- rednet.send(RAM,"PULL")
- while wt==0 do
- local wi,it=rednet.receive()
- if wi==RAM then
- if it=="PULLED" then
- print("PULLED")
- return
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement