cmd6 if/then