syntax isn’t quite right, but i think i understand what you’re trying to do. just keep in mind, when do the mutes turn off (by setting x,y,z back to 1).
we’re very quickly going to have to figure a nomenclature for documenting multi-input, multi-line scripts.
1
IF X : TR.PULSE A
Y EZ Y
2
IF Y : TR.PULSE B
X EZ X
EZ is equals zero. so X EZ X toggles x between 0 and 1. (if x is 0, then it becomes one, and vice versa, each time this is called).
so the two scripts above, together, have a toggling mute effect on eachother. with a polyrhythm input to each, this could/would sound interesting for sure.