// lupg_has_res - Has the required resources
#include "rtsh_multiplay"

int StartingConditional()
{
    object oPC=GetPCSpeaker();
    int nParm=GetLocalInt(oPC,"nParm");
    if (nParm==1&&fnGetTeamMana(oPC)>999) return TRUE;
    else if (nParm==2&&GetGold(oPC)>4999) return TRUE;
    return FALSE;
}