Thanks for your answer, Jeremy. You’re right about the last note. I just changed names/labels after I pasted the copied chunk, but apparently, I forgot to change the last part.
I tried your solution, and here are the two errors I got:
1- A pop-up error: “There must be some items in the running order!”
2- PennController Debug error: “Command ‘and’ unknown on Button element”
As for the first error, there is nothing wrong with other parts of my script. When I comment the
.add() part, it works fine.
Thank you very much for your help.