Liktorn

Direwolf20's Uberminer Startup

Apr 23rd, 2014
693
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. sleep(1)
  2. p = peripheral.wrap("top")
  3. while true do
  4.    if p.getStackInSlot(1) then
  5.       print("Item Detected in chest - Mining....")
  6.       shell.run("mine")
  7.    else
  8.       print("No item Detected.  Waiting....")
  9.       sleep(5)
  10.    end
  11. end
Add Comment
Please, Sign In to add comment