//:://///////////////////////////////////////////// //:: FileName at_020 //::////////////////////////////////////////////// //::////////////////////////////////////////////// //:: Created By: Script Wizard //:: Created On: 26/04/2008 14:48:26 //::////////////////////////////////////////////// void main() { // Give the speaker some gold GiveGoldToCreature(GetPCSpeaker(), 5); // Give the speaker some XP GiveXPToCreature(GetPCSpeaker(), 250); // Remove items from the player's inventory object oItemToTake; oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "Doll"); if(GetIsObjectValid(oItemToTake) != 0) DestroyObject(oItemToTake); // Set the variables SetLocalInt(GetPCSpeaker(), "iWantDoll", 2); }