if(strcmp(command, "/jobs", true) == 0) { new subcommand[256]; new string[256]; subcommand = strtok(cmdtext, index); if(!strlen(subcommand)) {//Checks to see if the Strlen Length is Correct SendClientMessage(playerid,0xFFFFFFFF,"Usage: /jobs /");//if not send this message return 1; } else //If Strlen is correct go to next if if(strcmp(subcommand, "add", true) == 0){ subcommand = strtok(cmdtext, index); new Maker, Title[256], Pay, Descrip[256];//Title and Descript are strings so use [256] if(!strlen(subcommand)){//Checks if is Present SendClientMessage(playerid,0xFFFFFFFF,"Usage: /jobs add <Title><Pay><Description>");//If not will send this message return 1; } //You dont want the value of Title as you'll always get 0 when you type a string Title = subcommand;//If title is correct it will set the value of title to Title subcommand = strtok(cmdtext, index); if(!strlen(subcommand)){//Checks if <Pay> is present SendClientMessage(playerid,0xFFFFFFFF,"Usage: /jobs add <Title> <Pay> <Description>");//If not send this message return 1; } Pay = strval(subcommand);//If is present set the value of pay to Pay subcommand = strtok(cmdtext, index); if(!strlen(subcommand)){//I think you're getting this by now SendClientMessage(playerid,0xFFFFFFFF,"Usage: /jobs add <Maker><Title><Pay>"); return 1; } Descrip = subcommand; //Do whatever you want here with your new Title, Pay, and Descrip Values //My Test Thing if(IsPlayerConnected(playerid)) { format(string, sizeof(string),"Title = %s, Pay is $%d, Descrip = %s,Maker = %d",Title,Pay,Descrip,Maker); SendClientMessage(playerid,0xFFFFFFFF,string); return 1; /*You're going to have Trouble though getting the descripting and the title to display the whole text you type in You'll need to change the order in which you get it though But still you will not be able to get All of either the Title or the Description I'll let you work this all out though */ } } else if(strcmp(subcommand, "list", true) == 0) { for (new i; strlen(Jobs[i][jTitle][0]) > 0; i++){ SendClientMessage(playerid, 0xFFFFFFFF, Jobs[i][jTitle]); return 1; } } return 1; }