local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local Topic = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end function greetCallback(cid) Topic[cid] = 0 return true end function creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false elseif msgcontains(msg, 'yes') then npcHandler:say("Okay, let's start... The rumor has it that if you go to a place containing demons, a whole lot of them, you will find your first clue to proceed with the firewalker boots quest. I will tell you what to do step wise. Say {ok} if you understand what im telling you.", cid) Topic[cid] = 1 elseif msgcontains(msg, 'ok') and Topic[cid] == 1 then npcHandler:say("Great! Step 1: Return back to the teleporter room. Step 2: Enter a Demon spawn teleport. Step 3: When you have collected all the required item you will have to face alot of difficult monsters. Step 4: After that you need to find a guy called 'Fire Crafter' I don't know where he is located but you will get alot of clues on this journey! Step 5: The items you will need is: Boots of haste, Fire bug and a special amulet. You can only get it 1 time. Be careful. Step 6: You will meet 2 brother Tutori and Tutori JR.. They will help you on the way.. I know that Tutori is placed somewhere in the deep caves wich is ruled by the behemoths!", cid) Topic[cid] = 0 end return true end npcHandler:setCallback(CALLBACK_GREET, greetCallback) npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())