if (strcmp("/mycommand", cmdtext, false, 10) == 0)//and replace 10 with the number of caracters from ""{// Do something herereturn 1;}