local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) 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 local travelNode = keywordHandler:addKeyword({"akamakakalakasdhasfhgk"}, StdModule.say, {npcHandler = npcHandler, onlyFocus, text = "Would you like to travel to the premium side of Natala?"}) travelNode:addChildKeyword({"yes"}, StdModule.travel, {npcHandler = npcHandler, premium, level = 0, cost = 0, destination = {x=901, y=949, z=6} }) travelNode:addChildKeyword({"no"}, StdModule.say, {npcHandler = npcHandler, onlyFocus, reset, text = "To bad."}) keywordHandler:addKeyword({"sail"}, StdModule.say, {npcHandler = npcHandler, onlyFocus, text = "I could take you to the other side of Natala, the premium side."}) npcHandler:addModule(FocusModule:new())