How do i get old brake fluid out of lines?

yep that works, then flush out with new fluid, probably use more that just bleeding them. After all that, keep your eye on things, that much of a shock to it's system (being all cleaned out) could initiate leaks from most anywhere especially old wheel cylinders and the master. You should also inspect the lines well to check for corrosion.