Advertisement
chopstyix

Turtle Startup

Jan 23rd, 2022 (edited)
984
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. print("Turtle Label:", os.getComputerLabel())
  2. print("Fuel Remaining:", turtle.getFuelLevel())
  3.  
  4. os.sleep(10)
  5. local item = turtle.getItemDetail(14)
  6. if item then
  7.   if (item.name == "computercraft:wireless_modem_normal") then
  8.     shell.run("equip 14 right")
  9.   end
  10. end
  11.  
  12. rednet.open("right")
  13. print("Waiting for command.")
  14. senderID, message, protocol = rednet.receive("chop")
  15.  
  16. shell.run(message)
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement