Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- periphType = peripheral.getType("left")
- if periphType == "modem" then
- rednet.open("left")
- else
- rednet.open("right")
- end
- print("> listening for activation parameters . . . ")
- while true do
- senderID, argIn, programID = rednet.receive("startComb")
- break
- end
- print("> parameters received, starting the dig")
- shell.run("turtleComb", argIn[1], argIn[2])
Advertisement
Add Comment
Please, Sign In to add comment