Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("left")
- local warper = peripheral.wrap("right")
- while true do
- id, message = rednet.receive()
- if (message == "Refuel")
- then
- local index = 1
- while (index <= 16)
- do
- turtle.select(index)
- turtle.drop()
- index = index + 1
- end
- rednet.send(48, "Continue Refuel")
- elseif (message == "Finish Refuel")
- then
- shell.run("refuel")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement