I'm looking for a way my users can interact with my scripts. I'd like to use checkboxes to work like a "yes/no" command, where the script does "A" if the checkbox is ticked, and "B" if the checkbox is NOT ticked.
Problem is, I can't get my head around the syntax of the "if" statement. I can do fine in Google Sheets, but not so much in Google Script, and I need a Script solution.
Any help out there?