Thought about this more. This might work:
create blocks out of points... put the points where you want (in this case I'd put the points on the end points of the lines), and then make the mtext field references the block's x/y values. You'll have to add the points to your selections sets / sliders.
If you need I can give it a shot tonight.