71
Mach4 General Discussion / Re: Mach4 Variable Counter
« on: October 25, 2015, 08:22:02 AM »
yep you can do that, I just showed you how I have one of my screens set up like.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
function m60()
local inst = mc.mcGetInstance()
local counter = mc.mcCntlGetPoundVar(inst, 500);
counter = counter +1;
mc.mcCntlSetLastError(inst, 'Counter # ' .. tostring(counter));
mc.mcCntlSetPoundVar(inst, 500, counter); --saves it to the ireg variable
end
if (mc.mcInEditor() == 1) then
m60()
end
I just want to know what possessed you in the first place to click Ctrl-Alt-Shift and click the middle mouse button ;-)