You can use MCStringIsEqualToCString() here (and in similar places below).