Well all you want to do is add a TEXT command to the routine.
Does it need to be on a particular layer or current, if not current define the layer.
Do you want a particular text style or current? If not current define the text style.
Do you use a text style with zero height, If so what height do you want the text?
Do you want to place the leader first? if so what text justification do you want?
[ top, middle, or bottom ] Left, Right will be determined by the leader direction.
You see there are a lot of options when you add text.
You do realize that the curved leader is not linked to the text like an ACAD leader is?