Divide a curve with X distance between points with X amount of points (Divide Curve + Divide Length)

Helllo,

I’ve been trying to figure how i would go about combining the Divide Curve and Divide Length.

I have a curve, and i want to be able to Add 20-25 points (using a slider) onto the curve, and also be able to change the distance between those points (preferably able to change the distance with a slider)
So essentially using the logic of the Divide Curve and Divide Length functions combined into one curve.

do you mean like in this thread?