Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while (true) do
- local EnderStacks = peripheral.call("right","getAllStacks")
- local EnderSize = peripheral.call("right","getInventorySize")
- local EnderChest = peripheral.wrap("right")
- if (EnderStacks[5] ~= nil) and (EnderStacks[7] ~= nil) then
- rs.setOutput("left",true)
- else
- rs.setOutput("left",false)
- end
- sleep(1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement