Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

startup

a guest Aug 10th, 2018 63 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. chest = peripheral.wrap("back")
  2.  
  3. while true do
  4.  
  5.   local slot = chest.getStackInSlot(1)
  6.  
  7.   if slot ~= nil then
  8.     if slot.qty < 32 then
  9.       redstone.setOutput("top", false)
  10.     else
  11.       redstone.setOutput("top", true)
  12.     end
  13.   else
  14.     redstone.setOutput("top", false)
  15.   end
  16.   sleep(5)
  17.  
  18. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top