function onUse(cid, item, frompos, item2, topos)
if item.uid == 2389 then
queststatus = getPlayerStorageValue(cid,2389)
if queststatus == -1 then
doPlayerSendTextMessage(cid,22,"You have found a Spear.")
doPlayerAddItem(cid,2389,1 )
setPlayerStorageValue(cid,2389,1)
else...