function onUse(cid, item, frompos, item2, topos)
soulMax = 200 -- max soul poitns
removeItem = true -- true to remove item // false no remove item
if(getPlayerSoul(cid) <= soulMax) then
if(removeItem == true) then
doPlayerRemoveItem(cid, item.itemid, 1)
end
doPlayerAddSoul(cid, soulMax - getPlayerSoul(cid))
doPlayerSendTextMessage(cid,26,"You receive "..soulMax.." soul points.")
doSendMagicEffect(topos,11)
else
doPlayerSendTextMessage(cid,26,"Not possible use, you have "..getPlayerSoul(cid).." soul points.")
doSendMagicEffect(frompos,2)
end
return true
end