void main() { object oPC = GetPCSpeaker(); if(GetItemPossessedBy(oPC, "fr_iwd_ogreloot2")!= OBJECT_INVALID) // Give the speaker some gold GiveGoldToCreature(oPC, 150); // Remove items from the player's inventory object oItemToTake; oItemToTake = GetItemPossessedBy(oPC, "fr_iwd_ogreloot2"); if(GetIsObjectValid(oItemToTake) != 0) DestroyObject(oItemToTake); }