function greetCallback(cid)
if getCreatureStorage(cid, 1029) == 1 then
if getPlayerItemCount(cid, 2346) ~= 1 then
npcHandler:say("Bring me the tear of darama and finish the rest of djinns missions, ".. getPlayerName(cid) .."!", 1)
return false
elseif getPlayerItemCount(cid, 2346) >= 1 then
doPlayerRemoveItem(cid,2346,1)
setPlayerStorageValue(cid, 1032, 1)
setPlayerStorageValue(cid, 1029, 2)
npcHandler:say("Thank you for the tear now go to Malor and follow rest of the mission!", 1)
end
else
npcHandler:setMessage(MESSAGE_GREET, "Hello there adventurer, what you want?")
return true
end
end