Can you please share the scene file (if possible some lower Max version)?
I guess you did a simple L1S Generator.
You can edit the macro on the arithmetic node placed on the Output Values Based note.
Instead YSplinePosition you could use SubSplineCounter or XSplineCoords.# Depend on Spline orientation. Of course, you will have to adopt Transition Position/Range limits to match the values.