@Override
	public String runMacro(HTTPRequest httpReq, String parm, HTTPResponse httpResp)
	{
		final String last=httpReq.getUrlParameter("BASECLASS");
		if(last==null)
			return " @break@";
		if(last.length()>0)
		{
			final java.util.Map<String,String> parms=parseParms(parm);
			CharClass C=CMClass.getCharClass(last);
			if(C!=null)
			{
				if(parms.containsKey("PLURAL"))
					return clearWebMacros(CMLib.english().makePlural(C.name()));
				else
					return clearWebMacros(C.name());
			}
			for(final Enumeration e=CMClass.charClasses();e.hasMoreElements();)
			{
				C=(CharClass)e.nextElement();
				if(C.baseClass().equalsIgnoreCase(last))
				{
					if(parms.containsKey("PLURAL"))
						return clearWebMacros(CMLib.english().makePlural(C.baseClass()));
					else
						return clearWebMacros(C.baseClass());
				}
			}
		}
		return "";
	}