PHP Code:
quest slot2 begin
state start begin
when 20353.chat."Slot Maschine" begin
say ( "Salut Croatul" )
say ( "Doresti sa joci la casino?" )
say ( "Poti castiga premii mari" )
say_reward ( "Fiecare runda costa 25kk" )
say ( "" )
say ( "Vrei sa joci?" )
local s = select ( "Da" , "Nu" )
if s == 2 then
say ( "Am inteles .. jocurile de noroc nu sunt pentru tine." )
return
end
if pc . count_item ( 19 ) > 0 then
say ( "Nu ai destul yang!" )
say ( "" )
say ( "Intoarcete cand ai Sabie 19" )
return
end
pc . remove_item ( 19 )
say_item ( "." , 1 , "" )
say_item ( "." , 1 , "" )
say_item ( "." , 1 , "" )
say_reward ( "Incepem?!" )
local option = select ( "Da" , "Nu" )
if option == 2 then
return
end
pc . remove_item ( 19 )
local s = number ( 27802 , 27823 )
local m = number ( 27802 , 27823 )
local l = number ( 27802 , 27823 )
say_title ( "Alege un peste" )
say_item ( "." , s , "" )
say_item ( "." , m , "" )
say_item ( "." , l , "" )
local cambia = select ( "Peste 1" , "Peste 2" , "Peste 3" , "Anuleza" )
if cambia == 1 then
local m = number ( 27802 , 27823 )
local l = number ( 27802 , 27823 )
say_item ( "." , s , "" )
say_item ( "." , m , "" )
say_item ( "." , l , "" )
if s == m == l then
say ( "Felicitari! Ati castigat 300kk yang" )
pc . change_gold ( 3e+08 )
notice_all ( "---> " .. pc . get_name ( ) .. " a castigat 300kk yang! <---" )
end
if s == m then
say ( "Felicitari! Ai castigat 150kk yang" )
pc . change_gold ( 1e+08 )
notice_all ( "---> " .. pc . get_name ( ) .. " a castigat 100kk yang! <---" )
end
if s == l then
say ( "Felicitari! Ati castigat iteme upp." )
pc . give_item2 ( 124400 , 5 )
pc . give_item2 ( 70023 , 5 )
pc . give_item2 ( 90000 , 15 )
notice_all ( "---> " .. pc . get_name ( ) .. " a castigat iteme up!<---" )
end
if m == l then
say ( "Felicitari! Ati castigat iteme upp." )
pc . give_item2 ( 124400 , 5 )
pc . give_item2 ( 70023 , 5 )
pc . give_item2 ( 90000 , 15 )
notice_all ( "---> " .. pc . get_name ( ) .. " a castigat iteme up!<---" )
end
if s == 27822 and
m == 27822 and
l == 27822 then
say ( "Felicitari! Ati castigat yang" )
pc . give_item2 ( "81013" , 1 )
pc . give_item2 ( "81013" , 1 )
notice_all ( "---> " .. pc . get_name ( ) .. " A castigat 1kkk yang <---" )
end
if s == 27816 and
m == 27816 and
l == 27816 then
say ( "Felicitari! Ai castigat 35 bastoane!" )
pc . give_item2 ( "70023" , 35 )
notice_all ( "---> " .. pc . get_name ( ) .. " A castigat 35 de bastoane! <---" )
end
if s == 30047 and
m == 30047 and
l == 30047 then
say ( "Felicitari! Ai castigat Harta comorii" )
pc . give_item2 ( "27988" , 1 )
notice_all ( "---> " .. pc . get_name ( ) .. " A castigat Harta comorii! <---" )
end
if s == 30050 and
m == 30050 and
l == 30050 then
say ( "Felicitari! Ai castigat inel exp 10ore." )
pc . give_item2 ( "72001" , 1 )
notice_all ( "---> " .. pc . get_name ( ) .. " A castigat inel exp 10h! <---" )
end
if s == 30021 and
m == 30021 and
l == 30021 then
say ( "Felicitari!!Ai castigat Sabie Lunara +9." )
pc . give_item2 ( "229" , 1 )
notice_all ( "---> " .. pc . get_name ( ) .. " A castigat Sabie Lunara +9 <---" )
end
if s == 30010 and
m == 30010 and
l == 30010 then
say ( "Felicitari!! Ai castigat Cufar de Testoasa" )
pc . give_item2 ( "50076" , 1 )
notice_all ( "---> " .. pc . get_name ( ) .. " A castigat Cufar de Testoasa <---" )
end
if s == 30005 and
m == 30005 and
l == 30005 then
say ( "Felicitari!! Ai castigat Cufar de Testoasa" )
pc . give_item2 ( "50076" , 1 )
notice_all ( "---> " .. pc . get_name ( ) .. " A castigat Cufar de Testoasa <---" )
end
if s == 30002 and
m == 30002 and
l == 30002 then
say ( "Felicitari!! Ai castigat Cufar de Testoasa" )
pc . give_item2 ( "50076" , 1 )
notice_all ( "---> " .. pc . get_name ( ) .. " A castigat Cufar de Testoasa <---" )
end
if s == 30008 and
m == 30008 and
l == 30008 then
say ( "Felicitari!! Ai castigat 3kkk yang" )
pc . give_item2 ( "81013" , 2 )
pc . give_item2 ( "81013" , 2 )
pc . give_item2 ( "81013" , 2 )
notice_all ( "---> " .. pc . get_name ( ) .. "A castigat 3kkk yang!! <---" )
end
say ( "Noroc la carti, ghinion în dragoste" )
end
if cambia == 2 then
local m = number ( 27802 , 27823 )
local l = number ( 27802 , 27823 )
say_item ( "." , s , "" )
say_item ( "." , m , "" )
say_item ( "." , l , "" )
if s == m == l then
say ( "Felicitari !Ai castigat 300kk yang" )
pc . change_gold ( 300000000 )
notice_all ( "---> " .. pc . get_name ( ) .. " A castigat 300kk yang! <---" )
end
if s == m then
say ( "Herzlichen Glückwunsch! Sie haben 1 Millionen Yang gewonnen." )
pc . change_gold ( 100000000 )
notice_all ( "---> " .. pc . get_name ( ) .. " A castigat 100kk yang! <---" )
end
if s == l then
say ( "Felicitari! Ati castigat iteme upp." )
pc . give_item2 ( 124400 , 10 )
pc . give_item2 ( 70023 , 5 )
pc . give_item2 ( 90000 , 15 )
notice_all ( "---> " .. pc . get_name ( ) .. " a castigat iteme up!<---" )
end
if m == l then
say ( "Felicitari! Ati castigat iteme upp." )
pc . give_item2 ( 124400 , 15 )
pc . give_item2 ( 70023 , 5 )
pc . give_item2 ( 90000 , 15 )
notice_all ( "---> " .. pc . get_name ( ) .. " a castigat iteme up!<---" )
end
if s == 27822 and
m == 27822 and
l == 27822 then
say ( "Felicitari!! Ai castigat Cufar de Testoasa" )
pc . give_item2 ( "50076" , 1 )
notice_all ( "---> " .. pc . get_name ( ) .. " A castigat Cufar de Testoasa <---" )
end
if s == 27816 and
m == 27816 and
l == 27816 then
say ( "Felicitari!! Ai castigat Cufar de Testoasa" )
pc . give_item2 ( "50076" , 1 )
notice_all ( "---> " .. pc . get_name ( ) .. " A castigat Cufar de Testoasa <---" )
end
if s == 30047 and
m == 30047 and
l == 30047 then
say ( "Felicitari!! Ai castigat Cufar de Testoasa" )
pc . give_item2 ( "50076" , 1 )
notice_all ( "---> " .. pc . get_name ( ) .. " A castigat Cufar de Testoasa <---" )
end
if s == 30050 and
m == 30050 and
l == 30050 then
say ( "Felicitari!! Ai castigat Cufar de Testoasa" )
pc . give_item2 ( "50076" , 1 )
notice_all ( "---> " .. pc . get_name ( ) .. " A castigat Cufar de Testoasa <---" )
end
if s == 30021 and
m == 30021 and
l == 30021 then
say ( "Felicitari!! Ai castigat Cufar de Testoasa" )
pc . give_item2 ( "50076" , 1 )
notice_all ( "---> " .. pc . get_name ( ) .. " A castigat Cufar de Testoasa <---" )
end
if s == 30010 and
m == 30010 and
l == 30010 then
say ( "Felicitari!! Ai castigat Cufar de Testoasa" )
pc . give_item2 ( "50076" , 1 )
notice_all ( "---> " .. pc . get_name ( ) .. " A castigat Cufar de Testoasa <---" )
end
if s == 30005 and
m == 30005 and
l == 30005 then
say ( "Felicitari!!Ai castigat 500kk" )
pc . give_item2 ( "81013" , 1 )
notice_all ( "---> " .. pc . get_name ( ) .. " A castigat 500kk <---" )
end
if s == 30002 and
m == 30002 and
l == 30002 then
say ( "Felicitari!! Ai castigat Cufar de Testoasa" )
pc . give_item2 ( "50076" , 1 )
notice_all ( "---> " .. pc . get_name ( ) .. " A castigat Cufar de Testoasa <---" )
end
if s == 30008 and
m == 30008 and
l == 30008 then
say ( "Felicitari!! Ai castigat 3kkk yang" )
pc . give_item2 ( "81013" , 2 )
pc . give_item2 ( "81013" , 2 )
pc . give_item2 ( "81013" , 2 )
notice_all ( "---> " .. pc . get_name ( ) .. "A castigat 3kkk yang!! <---" )
end
say ( "Noroc la carti, ghinion in dragoste" )
end
if cambia == 3 then
local m = number ( 27802 , 27823 )
local l = number ( 27802 , 27823 )
say_item ( "." , s , "" )
say_item ( "." , m , "" )
say_item ( "." , l , "" )
if s == m == l then
say ( "Felicitari! Ati castigat iteme upp." )
pc . give_item2 ( 124400 , 15 )
pc . give_item2 ( 70023 , 5 )
pc . give_item2 ( 90000 , 15 )
notice_all ( "---> " .. pc . get_name ( ) .. " a castigat iteme up!<---" )
end
if s == m then
say ( "Felicitari! Ati castigat iteme upp." )
pc . give_item2 ( 124400 , 15 )
pc . give_item2 ( 70023 , 5 )
pc . give_item2 ( 90000 , 15 )
notice_all ( "---> " .. pc . get_name ( ) .. " a castigat iteme up!<---" )
end
if s == l then
say ( "Felicitari! Ai castigat iteme upp!" )
pc . give_item2 ( 124400 , 20 )
pc . give_item2 ( 70023 , 20 )
pc . give_item2 ( 90000 , 200 )
notice_all ( "---> " .. pc . get_name ( ) .. " A castigat iteme upp!<---" )
end
if m == l then
say ( "Felicitari! Ai castigat iteme upp!" )
pc . give_item2 ( 124400 , 20 )
pc . give_item2 ( 70023 , 20 )
pc . give_item2 ( 90000 , 200 )
notice_all ( "---> " .. pc . get_name ( ) .. " A castigat iteme upp!<---" )
end
if s == 27822 and
m == 27822 and
l == 27822 then
say ( "Felicitari! Ai castigat x200 marihuana si x50 perle plasma!" )
pc . give_item2 ( "300011" , 50 )
pc . give_item2 ( "90000" , 200 )
notice_all ( "---> " .. pc . get_name ( ) .. " A castigat x200 marihuana si x50 perle plasma!! <---" )
end
if s == 27816 and
m == 27816 and
l == 27816 then
say ( "Felicitari! Ai castigat x100 marihuana si x50 perle plasma!" )
pc . give_item2 ( "300011" , 50 )
pc . give_item2 ( "90000" , 100 )
notice_all ( "---> " .. pc . get_name ( ) .. " A castigat x100 marihuana si x50 perle plasma!! <---" )
end
if s == 30047 and
m == 30047 and
l == 30047 then
say ( "Ghinion nu ai castigat nimic" )
pc . give_item2 ( "50513" , 1 )
notice_all ( "---> " .. pc . get_name ( ) .. " hat einen Seelenstein gewonnen! <---" )
end
if s == 30050 and
m == 30050 and
l == 30050 then
say ( "Felicitari! Ai castigat x50 marihuana si x100 perle plasma!" )
pc . give_item2 ( "300011" , 100 )
pc . give_item2 ( "90000" , 50 )
notice_all ( "---> " .. pc . get_name ( ) .. " A castigat x100 marihuana si x50 perle plasma!! <---" )
end
if s == 30021 and
m == 30021 and
l == 30021 then
say ( "Felicitari ai castigat abrazive" )
pc . give_item2 ( "124400" , 50 )
notice_all ( "---> " .. pc . get_name ( ) .. " A castigat x50 abrazive <---" )
end
if s == 30010 and
m == 30010 and
l == 30010 then
say ( "Felicitari ai castigat abrazive" )
pc . give_item2 ( "124400" , 50 )
notice_all ( "---> " .. pc . get_name ( ) .. " A castigat x50 abrazive <---" )
end
if s == 30005 and
m == 30005 and
l == 30005 then
say ( "Felicitari ai castigat abrazive" )
pc . give_item2 ( "124400" , 50 )
notice_all ( "---> " .. pc . get_name ( ) .. " A castigat x50 abrazive <---" )
end
if s == 30002 and
m == 30002 and
l == 30002 then
say ( "Felicitari ai castigat abrazive" )
pc . give_item2 ( "124400" , 50 )
notice_all ( "---> " .. pc . get_name ( ) .. " A castigat x50 abrazive <---" )
end
if s == 30008 and
m == 30008 and
l == 30008 then
say ( "Felicitari ai castigat abrazive" )
pc . give_item2 ( "124400" , 50 )
notice_all ( "---> " .. pc . get_name ( ) .. " A castigat x50 abrazive <---" )
end
say ( "Noroc la carți, ghinion in dragoste" )
end
if cambia == 4 then
if s == m == l then
say ( "Herzlichen Glückwunsch! Sie haben 3 Millionen Yang gewonnen." )
pc . changegold ( 3e+06 )
notice_all ( "---> " .. pc . get_name ( ) .. " hat 3 Millionen Yang gewonnen! <---" )
end
if s == m then
say ( "Complimenti! Hai vinto 1 milione di Yang." )
pc . changegold ( 1e+06 )
notice_all ( "---> " .. pc . get_name ( ) .. " hat 1 Millionen Yang gewonnen! <---" )
end
if s == l then
say ( "Felicitari! Ai castigat iteme upp!" )
pc . give_item2 ( 124400 , 20 )
pc . give_item2 ( 70023 , 20 )
pc . give_item2 ( 90000 , 200 )
notice_all ( "---> " .. pc . get_name ( ) .. " A castigat iteme upp!<---" )
end
if m == l then
say ( "Felicitari! Ai castigat iteme upp!" )
pc . give_item2 ( 124400 , 20 )
pc . give_item2 ( 70023 , 20 )
pc . give_item2 ( 90000 , 200 )
notice_all ( "---> " .. pc . get_name ( ) .. " A castigat iteme upp!<---" )
end
if s == 27822 and
m == 27822 and
l == 27822 then
say ( "Felicitari ai castigat abrazive" )
pc . give_item2 ( "124400" , 50 )
notice_all ( "---> " .. pc . get_name ( ) .. " A castigat x50 abrazive <---" )
end
if s == 27816 and
m == 27816 and
l == 27816 then
say ( "Felicitari ai castigat abrazive" )
pc . give_item2 ( "124400" , 50 )
notice_all ( "---> " .. pc . get_name ( ) .. " A castigat x50 abrazive <---" )
end
if s == 30047 and
m == 30047 and
l == 30047 then
say ( "Felicitari ai castigat abrazive" )
pc . give_item2 ( "124400" , 50 )
notice_all ( "---> " .. pc . get_name ( ) .. " A castigat x50 abrazive <---" )
end
if s == 30050 and
m == 30050 and
l == 30050 then
say ( "Felicitari ai castigat abrazive" )
pc . give_item2 ( "124400" , 50 )
notice_all ( "---> " .. pc . get_name ( ) .. " A castigat x50 abrazive <---" )
end
if s == 30021 and
m == 30021 and
l == 30021 then
say ( "Felicitari ai castigat abrazive" )
pc . give_item2 ( "124400" , 50 )
notice_all ( "---> " .. pc . get_name ( ) .. " A castigat x50 abrazive <---" )
end
if s == 30010 and
m == 30010 and
l == 30010 then
say ( "Herzlichen Glückwunsch! Sie haben eine Rote Perle gewonnen.!" )
pc . give_item2 ( "27994" , 1 )
notice_all ( "---> " .. pc . get_name ( ) .. " hat eine Rote Perle gewonnen! <---" )
end
if s == 30005 and
m == 30005 and
l == 30005 then
say ( "Herzlichen Glückwunsch! Sie haben ein Magisches Metal gewonnen.!" )
pc . give_item2 ( "25041" , 1 )
notice_all ( "---> " .. pc . get_name ( ) .. " hat ein Magisches Metal gewonnen! <---" )
end
if s == 30002 and
m == 30002 and
l == 30002 then
say ( "Herzlichen Glückwunsch! Sie haben eine Muschel gewonnen." )
pc . give_item2 ( "27987" , 1 )
notice_all ( "---> " .. pc . get_name ( ) .. " hat eine Muschel gewonnen! <---" )
end
if s == 30008 and
m == 30008 and
l == 30008 then
say ( "Herzlichen Glückwunsch! Sie haben 3 Segenschriftrollen gewonnen.!" )
pc . give_item2 ( "25040" , 1 )
pc . give_item2 ( "25040" , 1 )
pc . give_item2 ( "25040" , 1 )
notice_all ( "---> " .. pc . get_name ( ) .. " hat 3 Segenschriftrollen gewonnen!! <---" )
end
say ( "Noroc la carți, ghinion in dragoste" )
end
end
end
end
When i got this item (19 - Sword) this quest block me and show me this message :
And when i don't got that item this quest works , can't any body reverse this quest?