[plevel 5]
etkinlik
[function etkinlik]
dialog d_etkinlik
[dialog d_etkinlik]
0,0
resizepic 95 130 5054 160 300
checkertrans 104 141 140 280
text 140 160 1925 0
text 127 190 1152 1
text 127 210 1152 2
text 127 230 1152 3
text 127 250 1152 4
text 127 270 1152 5
text 127 290 1152 6
text 127 310 1152 7
text 127 330 1152 8
text 127 350 1152 9
text 127 370 1152 10
text 127 370 1152 11
button 107 190 2714 2715 1 0 2
button 107 210 2714 2715 1 0 3
button 107 230 2714 2715 1 0 4
button 107 250 2714 2715 1 0 5
button 107 270 2714 2715 1 0 6
button 107 290 2714 2715 1 0 7
button 107 310 2714 2715 1 0 8
button 107 330 2714 2715 1 0 9
button 107 350 2714 2715 1 0 10
button 107 350 2714 2715 1 0 11
button 107 370 2714 2715 1 0 12
[dialog d_etkinlik text]
<serv.servname>
Gm Topuk
Zar
Pvp
Duello
Rulet
Kuyu
vs.
vs.
vs.
vs.
[Plevel 5]
turnuva
[Function turnuva]
sdialog d_turnuva
return 1
[Defname turnuva]
t0=6
t1=Gm Topuk
t2=Zar
t3=Pvp
t4=Rulet
t5=Duello
t6=Kuyu
tm1=xxx //Gm topuk alani kordinatı
tm2=yyy //Zar "
tm3=zzz //Pvp "
tm4=vvv //Rulet "
tm5=www //Duello "
tm6=uuu //Kuyu "
[Dialog d_turnuva]
0,0
Nomove
resizepic 297 125 2620 250 <eval <ddef.t0>*32>
dtext 322 140 47 Turnuvalar
local.x 173
for 1 <ddef.t0>
button 316 <eval <local.x>> 4006 4007 1 0 <dlocal._for>
local.x +=25
endfor
local.z 175
for 1 <ddef.t0>
dtext 350 <dlocal.z> 920 <def.location_<dlocal._for>>
local.z +=25
endfor
[Dialog d_turnuva button]
On=0
src.sysmessage @026 Sayfayi kapattiniz.
return 1
On=1 <ddef.t0>
if !(<serv.allclients findid.i_katil>)
src.go <def.tm<dargn>>
serv.allclients newitem i_katil
serv.allclients act.equip
serv.allclients findid.i_katil.timer=900
serv.allclients sysmessage @07a1,1,1 <def.t<dargn>> yarismasi baslamistir. Katilmak icin .katil yaziniz.
serv.allclients findid.i_katil.morep=<def.tm<dargn>>
return 1
else
src.sysmessage @026 Suanda baska bir yarisma bulunmakta.
return 1
endif
[Itemdef i_katil]
Name=Katil
Id=i_gold
Type=t_eq_script
On=@Create
Color=00
Attr=attr_newbie|attr_invis
On=@Timer
remove
return 1
[Function katil]
if (<src.findid.i_katil>)
src.go <src.findid.i_katil.morep>
src.stone
return 1
else
src.sysmessage @026 Suanda yarisma bulunmamakta.
return 1
endif
[plevel 1]
varim
[function varim]
dialog d_varim
[DIALOG d_varim]
0, 0
PAGE 0
resizepic 15 60 5054 130 200
text 59 82 95 0
text 59 106 95 1
text 59 131 95 2
text 59 157 95 3
text 59 183 95 4
text 59 209 95 5
button 38 82 2714 2715 0 0 0
button 38 106 2714 2715 1 0 1
button 38 131 2714 2715 2 0 2
button 38 157 2714 2715 3 0 3
button 38 183 2714 2715 4 0 4
button 38 209 2714 2715 5 0 5
[DIALOG d_varim TEXT]
Gm Topuk
Zar
Pvp
Duello
Rulet
Kuyu
[DIALOG d_varim BUTTON]
on=0
src.sysmessage @0481 Event's ayarlayin!...
on=1
src.sysmessage @0481 Event's ayarlayin!...
on=2
src.sysmessage @0481 Event's ayarlayin!...
on=3
src.sysmessage @0481 Event's ayarlayin!...
on=4
src.sysmessage @0481 Event's ayarlayin!...
on=5
src.sysmessage @0481 Event's ayarlayin!...
xwerswoodx : bak eğer
dialogda
serv.allclients newitem i_katil
serv.allclients bounce
serv.alllclients findid.i_katil.morep=xxx,yyy,zzz
gibi bir komut verebilirsen ve birde invis istem yapabilirsen
ve
function katılda
if (<src.findid.i_katil>)
src.go <src.findid.i_katil.morep>
return 1
yaparsan eğer olabilir aklıma başka birşey gelmedi...