Advertisement
Its_Patchi

Uber Miner

Feb 8th, 2015
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.25 KB | None | 0 0
  1. Uber Miner Setup
  2.  
  3. sleep(1)
  4. p = peripheral.wrap("top")
  5. while true do
  6.    if p.getStackInSlot(1) then
  7.       print("Item Detected in chest - Mining....")
  8.       shell.run("mine")
  9.    else
  10.       print("No item Detected.  Waiting....")
  11.       sleep(5)
  12.    end
  13. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement