Totally Lost, Need Help

Hello I run a small PW and I'm stumped on trying to script something. Basically I need a script that "scraps" equippable items you put in a chest, and gives you d20 gold in exchange for deleting the item. Any help would be great, thank you.
0
Comments
int IPGetIsItemEquipable(object oItem);
You can use that to check if something is equipable.