Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- local chest = peripheral.wrap("left")
- if chest.getStackInSlot(0) == nil then
- rs.setOutput("back",true)
- print("OK")
- sleep(0.5)
- else
- rs.setOutput("back",false)
- sleep(0.5)
- print("Nope")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment