function onSay(cid, words, param, channel)
local cfg = {
full = 200,
price = 10000
}
if(getPlayerSoul(cid) >= cfg.full) then
doPlayerSendCancel(cid, "Your soul points are full already.")
elseif(no isPremium(cid)) then
doPlayerSendCancel(cid, "You must have premium account.")
elseif(getPlayerMoney(cid) < cfg.price) then
doPlayerSendCancel(cid, "You do not have enough money.")
else
doPlayerRemoveMoney(cid, cfg.price)
doPlayerAddSoul(cid, cfg.full - getPlayerSoul(cid))
doCreatureSay(cid, "Your soul points have been refilled!", TALKTYPE_ORANGE_1)
end
return true
end