void main() { object oPC = GetPCSpeaker(); AssignCommand(oPC, TakeGoldFromCreature(1, oPC, TRUE)); CreateItemOnObject("doll", oPC, 1); }