function onUse(cid, item, frompos, item2, topos)
if doPlayerRemoveMoney(cid, 10000) == 1 then
doPlayerAddItem(cid, 2173, 1)
doPlayerSendTextMessage(cid,24,'You Bought An Amulet Of Loss For 10K')
else
doPlayerSendCancel(cid, 'You don\'t have enough money.')...