Advertisement
JOBGG

Untitled

Nov 15th, 2014
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. modem = peripheral.wrap("left")
  2. modem.open(1)
  3. while true do
  4. if turtle.getItemCount(turtle.getSelectedSlot()) == 0 then
  5. turtle.select(turtle.getSelectedSlot()+1)
  6. end
  7. turtle.placeDown()
  8. os.pullEvent("modem_message")
  9. turtle.forward()
  10. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement