Sivarias

CC_turtle_startup

Oct 9th, 2013
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. --turtlestartup
  2. --This is a startup program and should be saved as startup after a label (name) is set
  3. print("Name: "..os.getComputerLabel())
  4. print("ID: "..os.getComputerID())
  5. print("Fuel: "..turtle.getFuelLevel())
  6. print("")
  7. print("Type programs for a list of programs I have, the ones with ! are user friendly")
  8. modem = peripheral.wrap("right")
  9. channel=os.getComputerID()
  10. modem.transmit(128, channel, "Minion "..os.getComputerLabel().." reporting for duty!")
  11. modem.open(channel)
  12. os.loadAPI("t")
Advertisement
Add Comment
Please, Sign In to add comment