if msgcontains(msg, 'outfit')then
if getPlayerStorageValue(cid, 8601) == -1 then
local msgs={
"Oh, my winged tiara? Those are traditionally awarded after having completed a difficult task for our guild, only to female aspirants though. Male warriors will receive a hooded cloak.",
}
doNPCTalkALot(msgs,9020)
Topic[talkUser] = 0
else
end
elseif msgcontains(msg, 'task') then
if getPlayerStorageValue(cid, 8601) == -1 then
local msgs1={
"So you are saying that you would like to prove that you deserve to wear such a hooded cloak?",
}
doNPCTalkALot(msgs1,9021)
Topic[talkUser] = 1
else
end
elseif msgcontains(msg, 'yes') and Topic[talkUser] == 1 then
if getPlayerStorageValue(cid, 8601) == -1 then
local msgs2={
"Alright, I will give you a chance. Pay close attention to what I'm going to tell you now. ...",
"Recently, one of our members moved to Liberty Bay out of nowhere, talking about some strange cult. That is not the problem, but he took my favourite crossbow with him. ...",
"Please find my crossbow. It has my name engraved on it and is very special to me. ...",
"Secondly, we need a lot of leather for new quivers. 100 pieces of lizard leather and 100 pieces of red dragon leather should suffice. ...",
"Third, since we are giving out tiaras, we are always in need of enchanted chicken wings. Please bring me 5, that would help us tremendously. ...",
"Lastly, for our arrow heads we need a lot of steel. Best would be one piece of royal steel, one piece of draconian steel and one piece of hell steel. ...",
"Did you understand everything I told you and are willing to handle this task?",
}
doNPCTalkALot(msgs2,9022)
setPlayerStorageValue(cid,8601,1)
Topic[talkUser] = 0
else
end
elseif msgcontains(msg, "yes") and Topic[talkUser] == 1 then
if getPlayerStorageValue(cid, 8601) == 1 then
local msgs3={
"Great!",
}
doNPCTalkALot(msgs3,9023)
setPlayerStorageValue(cid,8601,2)
Topic[talkUser] = 0
else
end