if(!strcmp(cmdtext,"/command",true))//use strcmp to compare the string cmdtext to the string /command{ print("You've typed /command"); return 1;}