//Put this on action taken in the conversation editor void main() { object oPC = GetPCSpeaker(); object oItem; oItem = GetItemPossessedBy(oPC, "CHOGUILDKEY"); if (GetIsObjectValid(oItem)) DestroyObject(oItem); int nInt; nInt=GetGold(oPC); AssignCommand(oPC, TakeGoldFromCreature(nInt, oPC, TRUE)); AdjustAlignment(oPC, ALIGNMENT_EVIL, 100); }