function onUse(cid, item, fromPosition, itemEx, toPosition)
if item.itemid == 1747 then -- Change that number to ID of the chest.
queststatus = getPlayerStorageValue(cid,101) -- Change the 101 to the storage value you want to be used for the quest.
if queststatus == -1 then
doPlayerSendTextMessage(cid,24,"You have found, List the items names here with whatever you want to say, since its more than 1 item.")
doPlayerAddItem(cid,7458,1) -- Change the doPlayerAddItem to which items you want added when they open it
doPlayerAddItem(cid,7459,1)
doPlayerAddItem(cid,7460,1)
doPlayerAddItem(cid,7461,1)
setPlayerStorageValue(cid,101,1)
else
doPlayerSendTextMessage(cid,24,"It is empty.")
end
end
return TRUE
end