Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local num = tonumber(...)
- outp = peripheral.find("minecraft:chest").getItemDetail(1).count
- while (outp<num) do
- redstone.setOutput("top", true)
- outp = peripheral.find("minecraft:chest").getItemDetail(1).count
- sleep(0.1)
- end
- redstone.setOutput("top", false)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement