Advertisement
Guest User

startup

a guest
Oct 20th, 2014
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.16 KB | None | 0 0
  1. chest = peripheral.wrap("right")
  2. slot  = 1
  3. out   = "top"
  4. wait  = 1
  5.  
  6. while true do
  7.  redstone.setOutput(out, chest.getStackInSlot(slot) ~= nil)
  8.  sleep(wait)
  9. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement