Advertisement
Zoidbergie

Untitled

Jul 17th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. --Local
  2. local miningError = 0 -- 0 = no error, 1 = error
  3. local torch = turtle.getItemCount(1)
  4.  
  5. --Check
  6. local function Check()
  7. if torch == 0 then
  8. print("Missing torches in slot 1")
  9. Error = 1
  10. else
  11. print("There are ")
  12.  
  13. end
  14. end
  15.  
  16. -- Start
  17.  
  18. print("This is the Stairs to hell program")
  19. print("Place torches in slot 1 and fuel in slot 2")
  20. sleep(10)
  21. Check()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement