Can I have each ONCHANGE
pass a function a variable of either 1, 2, 3, or 4 so I can use conditional logic to check that value for whichever hopper triggers the function call to start the timer, etc.
So if Hopper1 ONCHANGE
call Func(1)
, …, Hopper4 ONCHANGE
call Func(4)
and then in the conditional logic of that function it will take action accordingly?
To me this would be perfect in the “example for pj.txt” you provided to use for the delay_count@
variable where in that example it is incrementally going up by 1
per the ~= delay_count@+1
portion. In that example it seems whenever that multidelay()
is called by any trigger it will just add one to the current variable. I think something like this but each ONCHANGE
or specific tags passing the function an argument int and then check that.
I also like the logic idea about basing it off time but I think I need to have be able to set time1, …, time4 as separate variables per each hopper and then be able to have conditional logic take action for each if time greater than +3 seconds of that time or whatever otherwise loop and keep checking until that’s true (no more than 3 secs tho for example).
I’m not sure I’ll be available to work on this during normal hours anytime soon at the moment and tied up from 8 AM - 5 PM.
Is phone support ever available on the weekends or after 5 PM on the weekdays? In the meantime, I’m fine with this forum as nothing is urgent or broken.
I look forward to testing out some of this logic you provide and get something working for the need.