if(command == "/register") //this is not real, you will understand it.{if(IsPlayerNPC(playerid)){return 1;} else {//your login command code goes here}return 1;}