I want this gem script to add charges everytime they use the gem on the staff, like it enchantes it and gives it 1 charge but it wont do it again and again
local config = {
manaCost = 300,
soulCost = 2
}
function onUse(cid, item, fromPosition, itemEx, toPosition)
if(item.itemid ==...