like https://scratch.mit.edu/projects/144834286/ but does not run scripts when not needed the downside is that <cond> is used three times. It can be reduced to twice.