#include "pcinclude" void main() { object oPC = GetPCSpeaker(); // Remove items from the player's inventory int nPelts = DestroyItemsInInventory(oPC, "BisonSkin", 9999); // Give the speaker some gold GiveGoldToCreature(oPC, 100 * nPelts); // Give the speaker some XP GiveXPToCreature(oPC, 100 * nPelts); }