RobotBubble

TurtleID

Oct 23rd, 2017
78
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local success, data = turtle.inspect()
  2. if success then
  3. term.clear()
  4. term.setCursorPos(1, 1)
  5. print("ID:", data.name)
  6. sleep(1)
  7. rednet.broadcast("ID:"..data.name)
  8. sleep(1)
  9. else
  10. print("No/Unidentifiable block")
  11. rednet.broadcast("No/Uniedentifiable block")
  12. sleep(1)
  13. end
RAW Paste Data Copied