1case 'remove' :
2 var remove = function(removeID){
3 var index = array.indexOf(removeID);
4 if (index>-1) {
5 array.splice(index, 1);
6 }
7 }
8 remove(args[1]);
9 break;
10//this code removes a specific value the user entered in an array i.e. !remove (the value here)