// uc_a_gcset - Set the amount of gold carrying void main() { object oMe=OBJECT_SELF; int nGold=GetGold(oMe); SetLocalInt(oMe,"nStartingGold",nGold); SetLocalInt(GetPCSpeaker(),"nGoldGiven",0); SetCustomToken(55001,IntToString(nGold)); }