//:://///////////////////////////////////////////// //:: FileName jw_wiztakesbook //::////////////////////////////////////////////// //::////////////////////////////////////////////// //:: Created By: Script Wizard //:: Created On: 06/09/2002 21:42:06 //::////////////////////////////////////////////// void main() { // Give the speaker some gold // Remove items from the player's inventory object oItemToTake; oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "jw_elf_book"); if(GetIsObjectValid(oItemToTake) != 0) { DestroyObject(oItemToTake); GiveGoldToCreature(GetPCSpeaker(), 100); } }