bigtwisty

BeginQuarry

Jul 6th, 2013
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. args = {...}
  2.  
  3. if #args < 3 then
  4. print("Usage: Begin <size> <x> <z>")
  5. exit()
  6. end
  7.  
  8. h = fs.open("location","w")
  9. h.writeLine(args[1])
  10. h.writeLine(args[2])
  11. h.writeLine(args[3])
  12. h.close()
  13.  
  14. write(string.format("Beginning quarry of size %d at %d, %d in: ",args[1],args[2],args[3]))
  15. for i=1,5 do
  16. write(6-i)
  17. os.sleep(1)
  18. end
  19.  
  20. shell.run("run",args[1])
Advertisement
Add Comment
Please, Sign In to add comment