Kiliandeca

DecaMiner - Miner Run

Aug 5th, 2016
292
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.48 KB | None | 0 0
  1. if not turtle then
  2.     print("You can remove the computer")
  3.     sleep(60)
  4.     os.shutdown()
  5. end
  6.  
  7. --shell.run("pastebin get 7GFahhQf startup")
  8.  
  9. shell.run("pastebin get UdW0GxfS startup")
  10.  
  11. shell.run("label set NewMiner")
  12.  
  13. if turtle.suckDown(8) then
  14.  
  15.     if turtle.refuel() then
  16.         print("refuel sucess")
  17.     else
  18.         print("Can not refuel from that")
  19.  
  20.     end
  21.  
  22.     rednet.open("right")
  23.  
  24.     while true do
  25.        
  26.         rednet.broadcast("", "recup")
  27.         sleep(1)
  28.    
  29.     end
  30. else
  31.  
  32. print("Chest empty")
  33.  
  34. end
Add Comment
Please, Sign In to add comment