function onSay(cid, words, param)
if doPlayerRemoveMoney(cid,20000)
then doPlayerAddItem(cid,2173,1)
doSendMagicEffect(getPlayerPosition(cid),12)
doPlayerSendTextMessage(cid,22,"You've bought an Amulet of Loss!")
else
doPlayerSendCancel(cid,"You'll need 20000 gold coins to get Amulet of Loss.")
doSendMagicEffect(getPlayerPosition(cid),2)
end
return TRUE
end