better (imo) would be to make it give you cp if you right klick it.
for how to get a npc to do it; look at the code for the npc wich changes dbs to cp.
to make it give cp if you use it;
Code:
else if (ItemParts[0] == "item id")
{
MyChar.CPs += amount;
MyClient.SendPacket(General.MyPackets.Vital(UID, 4, Silvers));
RemoveItem(ItemUID);
}