thaile4ever

frameQuarry

Feb 13th, 2013
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. local targs = { ... }
  2.  
  3. local depth = tonumber ( targs[1] )
  4.  
  5. if #targs ~= 1 then
  6. print("Usage: dig <depth>")
  7. return
  8. end
  9.  
  10. -- Dig down x times
  11. for i=0, depth do
  12. redstone.setBundledOutput("back", colors.white)
  13. sleep(10)
  14. redstone.setBundledOutput("back", colors.red)
  15. sleep(10)
  16. redstone.setBundledOutput("back", 0)
  17. sleep(40)
  18. end
  19.  
  20. for i=0, depth do
  21. redstone.setBundledOutput("back", colors.yellow)
  22. sleep(10)
  23. redstone.setBundledOutput("back", 0)
  24. sleep(50)
  25. end
Advertisement
Add Comment
Please, Sign In to add comment