~missingParams = If ( $checkScriptName = True ; ~matching ≠ ~expected ; False )

good

~missingParams = If ( $checkScriptName = 1 ; ~matching ≠ ~expected ; 0 )

bad