1
Mach4 General Discussion / need help with script
« on: July 14, 2015, 07:22:48 AM »i have this code in the signal script,
if (sig == mc.ISIG_INPUT1) and (state == 1) then
local inst = mc.mcGetInstance()
mc.mcCntlCycleStart(inst)
end
but what if i have two inputs
something like this :
if ((sig == mc.ISIG_INPUT1) and (state == 1)) and ((sig == mc.ISIG_INPUT10) and (state == 1))
local inst = mc.mcGetInstance()
mc.mcCntlCycleStart(inst)
end
how do i do that ?