Hello,
I am having some issues with some NPC script, for instance npc Umar from Blue Djinn quest.
Here's a snippet of the lua code for umar.lua
The problem is when I say for instance "Passage" he will only reply with the last line "So, are you willing to do so?"
The line above "If you want to enter our fortress you have to become one of us and fight the Efreet. ..." he never says at all.
What am I missing here?
I am having some issues with some NPC script, for instance npc Umar from Blue Djinn quest.
Here's a snippet of the lua code for umar.lua
Lua:
elseif msgcontains(msg, 'passage') and getPlayerStorageValue(cid, talkstor) == 1 then
if getPlayerStorageValue(cid, melstor) == 1 then
npcHandler:say("If you want to enter our fortress you have to become one of us and fight the Efreet. ...",cid)
npcHandler:say("So, are you willing to do so?",cid,4000)
setPlayerStorageValue(cid, talkstor, 2)
end
The problem is when I say for instance "Passage" he will only reply with the last line "So, are you willing to do so?"
The line above "If you want to enter our fortress you have to become one of us and fight the Efreet. ..." he never says at all.
What am I missing here?