function onSay(cid, words, param)
local player, effect = Player(cid), CONST_ME_POFF
if player:getItemCount(10021) >= 1 then
if player:removeMoney(10000) then
player:removeItem(10021, 1)
player:addItem(2640, 1)
player:sendTextMessage(MESSAGE_INFO_DESCR, "You repaired your soft boots for 10000 gold.")
effect = CONST_ME_MAGIC_BLUE
else
player:sendTextMessage(MESSAGE_STATUS_SMALL, "You don't have enough money.")
end
else
player:sendTextMessage(MESSAGE_STATUS_SMALL, "You don't have worn soft boots.")
end
player:getPosition():sendMagicEffect(effect)
return false
end