void main()
{
    object oPC = GetLastUsedBy();
    int nIdx;
    string sName;
    string sAvgDam;


    if (GetCampaignString("PGC3_DATA", "BOBO_NAME_1") != "")
    {
        SendMessageToPC(oPC, "Best Bobo Bashers (based on highest average damage per hit):");

        for (nIdx = 1; nIdx < 11;  nIdx++)
            {
            sAvgDam = IntToString(GetCampaignInt("PGC3_DATA", "BOBO_AVGDAM_"+IntToString(nIdx)));
            sName = GetCampaignString("PGC3_DATA", "BOBO_NAME_"+IntToString(nIdx));
            if (sName != "") SendMessageToPC(oPC, IntToString(nIdx)+") " + sName + ", " + sAvgDam + " HP/hit");
            }
    }
    else SendMessageToPC(oPC, "No Bobo Bashers scores available.");
}
