Behold the power of formatting:
while true do
for i = 1, 4 do
turtle.attack()
turtle.turnleft()
turtle.dropDown()
repeat
until turtle.dropDown() == false
end
while false do
turtle.dropDown()
until turtle.drioDown() == false -- No 'repeat', is that allowed...