Guest User

Untitled

a guest
Feb 22nd, 2013
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.32 KB | None | 0 0
  1. term.clear()
  2. term.setCursorPos(1,1)
  3. print ("Mining Started...")
  4.  
  5. for i = 1, 3 do
  6.   shell.run("down")
  7. end
  8.  
  9. for i = 1, 73 do
  10.   shell.run("dig")
  11.   shell.run("down")
  12. end
  13.  
  14. -- Up
  15. sleep(3)
  16.  
  17. print ("Returning to surface")
  18.  
  19. for i = 1, 76 do
  20.   shell.run("up")
  21. end
  22.  
  23. print ("Arrived at surface. Ready to move on")
Advertisement
Add Comment
Please, Sign In to add comment