Quest don't create the directory 101/kill

02/06/2013 19:44 KillHumans#1
Code:
quest dr2 begin
quest testearma begin
state start begin
when 101.kill begin
say_title("Parabéns!")
say("Mataste o DR, escolhe o teu prémio:")
local a = select ("Armas, "Armaduras")
if a == 1 then
say_title("Que arma queres?")
local b = select ("Faca Dragão+5 (Lv65)", "Arco Dragão Amarelo+5 (Lv65)", "Lâmina Zanna Fantasma+5 (Lv65)", "Leque Ave do Paraíso+5 (Lv65)", "Campainha Céu e Terra+5 (Lv65)", "Partidário+5(Lv65)", "Espada de Batalha+5 (Lv65)")
if b == 1 then
pc.give_item2("1105", 1)
say("Recebeste o que pediste.")
elseif b == 2 then
pc.give_item2("2145", 1)
say("Recebeste o que pediste.")
elseif b == 3 then
pc.give_item2("155", 1)
say("Recebeste o que pediste.")
elseif b == 4 then
pc.give_item2("7135", 1)
say("Recebeste o que pediste.")
elseif b == 5 then
pc.give_item2("5105", 1)
say("Recebeste o que pediste.")
elseif b == 6 then
pc.give_item2("3135", 1)
say("Recebeste o que pediste.")
elseif b == 7 then
pc.give_item2("145", 1)
say("Recebeste o que pediste.")
end
elseif a == 2 then
say("Ainda está indisponível.")
say("A equipa ainda está a construir esta parte.")
end
end
end
end

I put quest at:
/usr/home/game/share/locale/germany/quest

I do the command at the machine:
cd usr/home/game/share/locale/germany/quest
./qc testearma

I do the command at game:
/reload q


PROBLEM:
Quest don't create directory 101 with directory kill
Quest don't work when kill the mob.
02/06/2013 21:06 Sintiax#2
Ask here
[Only registered and activated users can see links. Click Here To Register...]

cd /usr/home/game
sh make.sh
02/06/2013 22:48 Der-Eddy#3
/closed