public OnPlayerCommandText(playerid, cmdtext[]){ if (strcmp("/mycommand", cmdtext, true, 10) == 0) { // Do something here return 1; } return 0;}