Mach 4 lua capabilities

You can store values in a “register” in Mach 4. Basically scripts can drop values in there and other scripts (or the same one) can recall that value later and even do things like do math on it.

I’m not really an expert but that should get you something to do some research on.