int fnLevel(object oPC) { int nRet=GetLevelByPosition(1,oPC); nRet=nRet+GetLevelByPosition(2,oPC); nRet=nRet+GetLevelByPosition(2,oPC); return nRet; } // fnLevel() int fnLowestLevel() { int nRet=41; object oPC=GetFirstPC(); while(oPC!=OBJECT_INVALID) { if (GetLocalString(oPC,"sTeamID")!=""&&fnLevel(oPC)