Schedule Next Piston Run


#21

This is true if they are indeed triggers like line 36, but line 38 & 40 are conditions, so it will still fire based on contact if @MLUCK does not follow the advice in your last post.

In a nutshell, only one lightning bolt per block is ideal, with as many conditions below that as you want.
(the exception is when triggers are connected with the word “or” like line 21)


#22

Agreed. I interpreted his situation as wanting a trigger when all three conditions are true at the same time, so he’ll want to trigger if any of the three changes and verify all of them. A separate if block could be used for each trigger, or combine with an or. The or block is easier to maintain as you add new trigger items, though the if blocks are easier to read if you later forget what you were trying to accomplish. I get bit by that if I try to be too clever.