// print the class names for the entity list else if (FStrEq(pcmd, "test_entlist")) { CBaseEntity *pBase = g_EntList->FirstEnt(); while (pBase) { META_CONPRINTF("'%s'\n", pBase->m_iClassname); pBase = g_EntList->NextEnt(pBase); } RETURN_META(MRES_SUPERCEDE); }