protected void genPassword(MOB mob, MOB M, int showNumber, int showFlag)
		throws IOException
	{
		if((showFlag>0)&&(showFlag!=showNumber)) return;
		mob.tell(_("@x1. Password: ********.",""+showNumber));
		if((showFlag!=showNumber)&&(showFlag>-999)) return;
		final String str=mob.session().prompt(_("Enter a new one to reset\n\r:"),"");
		if((str.length()>0)&&(M.playerStats()!=null))
		{
			M.playerStats().setPassword(str);
			CMLib.database().DBUpdatePassword(M.Name(),M.playerStats().getPasswordStr());
		}
		else
			mob.tell(_("(no change)"));
	}