void main()
{
    object oPC = GetPCSpeaker();
    object oItem = GetLocalObject(oPC, "MODIFY_ITEM");

    int iValue = GetGoldPieceValue(oItem);
    int iGold = GetGold(oPC);

    SetCustomToken(101, IntToString(iValue)); // item value
    SetCustomToken(102, IntToString(iGold)); //PC gold
}
