@Override
	public List<List<String>> parseQuestCommandLines(List<?> script, String cmdOnly, int startLine)
	{
		Vector<String> line=null;
		String cmd=null;
		boolean inScript=false;
		final List<List<String>> lines=new Vector<List<String>>();
		if(cmdOnly!=null)
			cmdOnly=cmdOnly.toUpperCase().trim();
		for(int v=startLine;v<script.size();v++)
		{
			line=CMParms.parse(((String)script.get(v)));
			if(line.size()==0)
				continue;
			cmd=line.firstElement().toUpperCase().trim();
			if(cmd.equals("</SCRIPT>")&&(inScript))
			{
				inScript=false;
				continue;
			}
			if(cmd.equals("<SCRIPT>"))
			{
				inScript=true;
				continue;
			}
			if(cmd.equals("STEP"))
				return lines;
			if((cmdOnly==null)||(cmdOnly.equalsIgnoreCase(cmd)))
				lines.add(line);
		}
		return lines;
	}