Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Local
- local miningError = 0 -- 0 = no error, 1 = error
- local torch = turtle.getItemCount(1)
- --Check
- local function Check()
- if torch == 0 then
- print("Missing torches in slot 1")
- Error = 1
- else
- print("There are ")
- end
- end
- -- Start
- print("This is the Stairs to hell program")
- print("Place torches in slot 1 and fuel in slot 2")
- sleep(10)
- Check()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement