turtle.select(1) write ("Enter the area size: ") local mainloo = read() local mainloop = tonumber(mainloo) print ("Selected area is: ",mainloo,"x",mainloo) write ("How deep do you want to dig? ") local deep = read() local depth = tonumber(deep) local num1 = 0 local volume = ((mainloop*mainloop*depth)-depth) print("The total volume is :",volume," blocks") while (num1 < depth) do turtle.select(1) local loop4 = 2 local limiter = 3 while (loop4 < mainloop) do local bigloop = 0 while (bigloop < 4) do local length = limiter local loop = 1 turtle.turnLeft() while (loop < length) do while (turtle.detect()) do turtle.dig() end turtle.forward() loop = loop + 1 end bigloop = bigloop + 1 end local slots = 17 local loop2 = 1 while (loop2