Comment
Comment by Mawr
Just a small note on the code in the linked script:
Presenting the user with "Missing X OR Y" when there's no reason that OR has to be there massively frustrates the user for the near zero benefit of having one fewer if statement.
Way better user experience, 0.00001% slower dev time.