if ($usrclass == 'Uploader') { //here goes the code multiplied by 2 } else { //here goes the normal code }