• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Other NPC answer

bomba

Member
Joined
Feb 26, 2008
Messages
635
Reaction score
7
Location
Brazil
Why an other NPC answer?
Look my script:
Code:
local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)

function onCreatureDisappear(cid)        npcHandler:onCreatureDisappear(cid)            end
function onCreatureDisappear(cid)        npcHandler:onCreatureDisappear(cid)            end

function onCreatureSay(cid, type, msg)
    addEvent(selfSay, 5500, "Sou um dos muitos anjos que aparecerao para te ajudar.", cid.uid)
    addEvent(selfSay, 5500, "Para sair daqui, voce deve falar a seguinte frase para o Troll Omak: {eu quero passar}, no idioma dos trolls. Para conseguir falar isso, lhe entreguei um pergaminho, veja em sua sacola.", cid.uid)
    addEvent(selfSay, 9500, "Apos falar {eu quero passar}, ele ira fazer uma pergunta, apenas diga {sim}, lembrando que deve ser no idioma dos trolls. Use o pergaminho que esta em sua sacola!", cid.uid)
    return true
end

function onThink()                npcHandler:onThink()                    end

npcHandler:addModule(FocusModule:new())
 
No idea what your asking.
No idea what your script is trying to do.
No idea what your script says.
No idea why there are two onCreatureDisappear functions.

Good luck,

Xikini
 
Back
Top