Not the sharpest tack on all this.
I ran the macro as posted and did not change the scripting and it works in version R3.043.062.
I added a user dro 1050 to the screen set so I could define the increment.
Read the original info in the original topic.
Note that the macro needs to be in the macro folder that applies to the screen set.
IE; C:\Mach3\macros\Mach3Mill if your using that screen set.
Click the "Operator" tab at the top of the screen and select "GCode Var Monitor" and in the
flyout, change one of the input box values to 1301 for the Var Adress and click THE "UPDATE" BUTTON.
The current stored value for the variable will be shown under stored value. If you run the macro you will see the
stored value change while the macro is running.
I did not air run the macro on the mill to see how the actual movements.
FWIW....have fun,
RICH