Salve a tutti oggi avendo tempo libero mi sono messo a fare una quest simpatica xD però non mi funziona appena la compilo la macchina mi da il seguente problema: syntax error : [string "start"]:60 unexpected symbol near 'state2 tutto2.quest:87:Abort (core dumped) vi metto la quest intera qui sotto!!
- - - Updated - - -
uppp please
quest tutto begin state start begin
when 20095.chat."Tutto" begin
say_title("Tutto")
say("Ciao cosa vuoi fare??")
local a = select("Diventare grasso","Laggare","Essere powa","Diventare brutto","Annulla")
if a == 1 then
say("Ok diventerai grasso continui??")
local grasso = select("Si","No")
if grasso == 1 then
say("Ecco a te ")
notice_all("Un player è diventato grasso sta a voi capirlo haha ")
chat("Sei diventato grasso xD")
pc.polymorph(20031, 2*60)
set_state("rimuovi")
elseif grasso == 2 then
say("Torna quando vuoi")
return
end
end
if a == 2 then
say("Così facendo laggherai continui??")
local lag = select("Si","No")
if lag == 1 then
say("Ecco a te ")
notice_all("Un player da adesso laggherà sta a voi capirlo haha")
chat("Adesso laggherai xD")
elseif lag == 2 then
say("Torna quando vuoi")
return
end
end
if a == 3 then
say("Vuoi essere powa??")
local powa = select("Si","No")
if powa == 1 then
say("Ecco a te ")
notice_all("Un player è diventato powa sta a voi scoprirlo xD")
chat("Sei diventato powa xD")
elseif powa == 2 then
say("Torna quando vuoi")
return
end
end
if a == 4 then
say("Vuoi essere brutto??")
local brutto = select("Si","No")
if brutto == 1 then
say("Ecco a te ")
notice_all("Un player è diventato brutto sta a voi scoprirlo xD")
chat("Sei diventato bruto xD")
pc.polymorph(20011, 2*60)
set_state("rimuovi")
elseif brutto == 2 then
say("Torna quando vuoi")
return
end
end
if a == 5 then
say("Torna quando vuoi")
return
end
state rimuovi begin
when letter begin
if pc.is_polymorphed() then
send_letter("Rimuovi trasformazione")
end
end
when button or info begin
if pc.is_polymorphed() then
say_title("Rimuovi trasformazione")
say("Vuoi rimuovere la trasformazione?[ENTER]")
local a = select("Si","No")
if a == 2 then
send_letter("Rimuovi trasformazione")
return
end
pc.remove_polymorph()
end
clear_letter()
set_state("__COMPLETE__")
end
state __COMPLETE__ begin
end
end
end
end
when 20095.chat."Tutto" begin
say_title("Tutto")
say("Ciao cosa vuoi fare??")
local a = select("Diventare grasso","Laggare","Essere powa","Diventare brutto","Annulla")
if a == 1 then
say("Ok diventerai grasso continui??")
local grasso = select("Si","No")
if grasso == 1 then
say("Ecco a te ")
notice_all("Un player è diventato grasso sta a voi capirlo haha ")
chat("Sei diventato grasso xD")
pc.polymorph(20031, 2*60)
set_state("rimuovi")
elseif grasso == 2 then
say("Torna quando vuoi")
return
end
end
if a == 2 then
say("Così facendo laggherai continui??")
local lag = select("Si","No")
if lag == 1 then
say("Ecco a te ")
notice_all("Un player da adesso laggherà sta a voi capirlo haha")
chat("Adesso laggherai xD")
elseif lag == 2 then
say("Torna quando vuoi")
return
end
end
if a == 3 then
say("Vuoi essere powa??")
local powa = select("Si","No")
if powa == 1 then
say("Ecco a te ")
notice_all("Un player è diventato powa sta a voi scoprirlo xD")
chat("Sei diventato powa xD")
elseif powa == 2 then
say("Torna quando vuoi")
return
end
end
if a == 4 then
say("Vuoi essere brutto??")
local brutto = select("Si","No")
if brutto == 1 then
say("Ecco a te ")
notice_all("Un player è diventato brutto sta a voi scoprirlo xD")
chat("Sei diventato bruto xD")
pc.polymorph(20011, 2*60)
set_state("rimuovi")
elseif brutto == 2 then
say("Torna quando vuoi")
return
end
end
if a == 5 then
say("Torna quando vuoi")
return
end
state rimuovi begin
when letter begin
if pc.is_polymorphed() then
send_letter("Rimuovi trasformazione")
end
end
when button or info begin
if pc.is_polymorphed() then
say_title("Rimuovi trasformazione")
say("Vuoi rimuovere la trasformazione?[ENTER]")
local a = select("Si","No")
if a == 2 then
send_letter("Rimuovi trasformazione")
return
end
pc.remove_polymorph()
end
clear_letter()
set_state("__COMPLETE__")
end
state __COMPLETE__ begin
end
end
end
end
- - - Updated - - -
uppp please