Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- chest = peripheral.wrap("front")
- while true do
- local count = chest.getStackInSlot(1)
- print(count["qty"])
- local number = count["qty"]
- rs.setAnalogOutput("right",number/4)
- os.sleep(10)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement