if(strlen(inputtext) < 4 || strlen(inputtext) > 32) { SendClientMessage(Playerid,-1,"your password must be more than 4 characters long"); ShowPlayerDialog(playerid, blah blah); return 0; }