public OnPlayerText( playerid, text[ ] ) { if( strcmp( text, "!mycommand", true ) == 0 ) { // Do your command stuff return 0; // We must return 0. } return 1;}