Perhaps the User Formerly Known as Glad might chime in here.
I have a macro that I'm attempting to convert to 3, from 2. I call it the Concurrent Arrival Fan, and it's a trick a much older LD showed me years ago. He did it manually, I made a macro. Basically, it aligns fade opposite delay to create an interesting movement. Here is the old MA2 macro:
Macro "World Is Selection"
SetUserVar $MinFade = ("Minimum fade time, at least 1")
SetUserVar $MaxFade = ("Maximum fade time)
PresetType "POSITION" At Fade $MaxFade Thru $MinFade
SetUserVar $MaxDelay = $MaxFade
$FORMULA "$MaxDelay=$MaxFade-$MinFade"; CALCULATE
PresetType "POSITION" At Delay 0 Thru $MaxDelay
World 1
Obviously this used glad's Intellivars, which he no longer supports for the MA3. I'm aware that I'll have to change a few other things once I figure this out.
I believe, however, that this simple math can be done natively within the macros now, because you can add integers. Unless I'm reading the help files wrongly, there is no direct way to subtract. However, there is the old (and silly) trick of making one integer negative and adding those. In fact, MA uses this example in their help file.
I tried the following:
My thinking was that this would turn the integer negative. Instead, it erased the value, setting it to nil.
How could I turn a given (integer) number negative? Or am I going to have to pay some Lua developer to write me add / subtract / multiply / divide scripts? I am not "that kind" of programmer.