Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- modem = peripheral.wrap("left")
- modem.open(1)
- while true do
- if turtle.getItemCount(turtle.getSelectedSlot()) == 0 then
- turtle.select(turtle.getSelectedSlot()+1)
- end
- turtle.placeDown()
- os.pullEvent("modem_message")
- turtle.forward()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement