Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- redstone.setOutput("top", false)
- print("feeding scraps")
- for i=1,16 do
- turtle.select(i)
- while (turtle.getItemCount(i)>0) do
- if turtle.dropUp()==false then
- -- redstone.setOutput("top",true)
- -- sleep(0.5)
- -- redstone.setOutput("top",false)
- -- uncomment 3 lines above, if you use RP2 Filter to pull UU from Fabr.
- sleep(5)
- end
- end
- end
- print("out of scraps .. turning off")
- redstone.setOutput("top", true)
- for i=5,1,-1 do
- print("sleeping for "..i)
- sleep(60)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement