Advertisement
osmarks

AutoDropper

Jul 17th, 2019
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.21 KB | None | 0 0
  1. local d = "back"
  2.  
  3. while true do
  4.     for slot, thing in pairs(peripheral.call(d, "list")) do
  5.         print "dropping"
  6.         rs.setOutput(d, true)
  7.         sleep(0.1)
  8.         rs.setOutput(d, false)
  9.         sleep(0.1)
  10.     end
  11.     sleep(0.2)
  12. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement