protected void genDoorName(MOB mob, Exit E, int showNumber, int showFlag)
		throws IOException
	{
		if((showFlag>0)&&(showFlag!=showNumber))
			return;
		if(E instanceof Item)
			mob.tell(L("@x1. Exit Direction (or 'null'): '@x2'.",""+showNumber,E.doorName()));
		else
			mob.tell(L("@x1. Door Name: '@x2'.",""+showNumber,E.doorName()));
		if((showFlag!=showNumber)&&(showFlag>-999))
			return;
		String newName=mob.session().prompt(L("Enter something new\n\r:"),"");
		if(newName.length()>0)
		{
			if((E instanceof Item)&&(newName.equalsIgnoreCase("null")))
				newName="";
			E.setExitParams(newName,E.closeWord(),E.openWord(),E.closedText());
		}
		else
			mob.tell(L("(no change)"));
	}