Add the following script in action/scripts folder.
local config = {
cost = {9970, 10},
newItem = {11298, 1}
}
function onUse(cid, item, fromPosition, itemEx, toPosition)
if not doPlayerRemoveItem(cid, config.cost[1], config.cost[2]) then
doCreatureSay(cid, "You need...