ConnectNPC("John[BOT]","onfoot_test");public OnPlayerConnect(playerid){if(IsPlayerNPC(playerid)) return 1;//to avoid dialog if register if you have itreturn 1;}