function onSay (cid, words, param)
if doPlayerRemoveItem (cid, 2157,50) == TRUE then
doPlayerAddItem(cid,8979,1)
doSendMagicEffect(getPlayerPosition(cid),12)
doPlayerSendTextMessage(cid,22,"You've bought an Amulet of Loss!")
else
doPlayerSendCancel(cid,"You don't have enough money.")
doSendMagicEffect(getPlayerPosition(cid),2)
end
return true
end