Help with conditional presets #UnO2


wanttobelieve42@...
 

I am trying to create a preset that will send program change commands to advance the patch selection on my Minilogue, which seems to organize its patches into 4 banks of 100 patches each, numbered 0-99. So the preset needs to keep track of what bank and patch number I'm on, so that it knows when it advance the bank and return the patch number back to zero, etc. The problem that I'm having is that whenever I put IF and ELSE statements in my preset, I get a message that I still need to specify a command for the preset. I attached a picture of the error message and full code below (I'm new to this, so feel free to point out anything else I'm doing wrong). Thanks!

Join uno@fcb1010.groups.io to automatically receive all group messages.