Advertisement
maxtorcd55

Untitled

Jun 20th, 2014
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1.  
  2.  
  3. while (true) do
  4.  
  5. local EnderStacks = peripheral.call("right","getAllStacks")
  6. local EnderSize = peripheral.call("right","getInventorySize")
  7. local EnderChest = peripheral.wrap("right")
  8.  
  9.  
  10. if (EnderStacks[5] ~= nil) and (EnderStacks[7] ~= nil) then
  11. rs.setOutput("left",true)
  12. else
  13. rs.setOutput("left",false)
  14. end
  15.  
  16.  
  17.  
  18.  
  19. sleep(1)
  20. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement