Advertisement
Guest User

Untitled

a guest
Dec 15th, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. redstone.setOutput("back",true)
  2. while true do
  3. fab = peripheral.wrap("back")
  4. doc = fab.list()
  5. if(doc[2] ~= nil) then
  6. redstone.setOutput("back",false)
  7. else
  8. redstone.setOutput("back",true)
  9. end
  10. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement