Bu moongateyi kısalta bilirseniz sevinirim...
//***************************************
// YAZAR: xwerswoodx
// YAPIM: Hamit Devecioğlu (c)2003-2009
// TARİH: 03.07.2009
// SAAT : 17:54
// KONU : Işınlanma Kapısı Versiyon v 01 (Moongate Versiyon 4)
//***************************************
VERSION:0.56b
[Defname isinlanmakapisi]
gate_1=Britain moongate // Britain Moongate
gate_2=2728,2133 // Bucaneers Den Moongate
gate_3=2497,1123,5 // Cove Moongate
gate_4=5351,4025,47 // Delucia Moongate
gate_5=Jhelom moongate // Jhelom Moongate
gate_6=Magincia moongate // Magincia Moongate
gate_7=Minoc-Vesper moongate // Minoc Moongate
gate_8=Moonglow moongate // Moonglow Moongate
gate_9=3520,1106,20 // Njuhelm Moongate
gate_10=3704,2724,23 // Occlo Moongate
gate_11=2772,3518 // Serpents Hold Moongate
gate_12=Skara Brae moongate // Skara Brae Moongate
gate_13=Trinsic moongate // Trinsic Moongate
gate_14=Minoc-Vesper Moongate // Vesper Moongate
gate_15=Yew moongate // Yew Moongate
[Dialog d_moongate_V4]
-297,-126
Move
resizepic 297 125 2620 250 480
dtext 322 136 47 Moongate V4
button 316 573 4006 4007 1 0 0
button 316 173 4006 4007 1 0 1
button 316 198 4006 4007 1 0 2
button 316 223 4006 4007 1 0 3
button 316 248 4006 4007 1 0 4
button 316 273 4006 4007 1 0 5
button 316 298 4006 4007 1 0 6
button 316 323 4006 4007 1 0 7
button 316 348 4006 4007 1 0 8
button 316 373 4006 4007 1 0 9
button 316 398 4006 4007 1 0 10
button 316 423 4006 4007 1 0 11
button 316 448 4006 4007 1 0 12
button 316 473 4006 4007 1 0 13
button 316 498 4006 4007 1 0 14
button 316 523 4006 4007 1 0 15
dtext 350 175 920 Britain
dtext 350 200 920 Bucaneers Den
dtext 350 225 920 Cove
dtext 350 250 920 Delucia
dtext 350 275 920 Jhelom
dtext 350 300 920 Magincia
dtext 350 325 920 Minoc
dtext 350 350 920 Moonglow
dtext 350 375 920 Njuhelm
dtext 350 400 920 Occlo
dtext 350 425 920 Serpents Hold
dtext 350 450 920 Skara Brae
dtext 350 475 920 Trinsic
dtext 350 500 920 Vesper
dtext 350 525 920 Yew
dtext 350 575 920 Iptal
[Dialog d_moongate_V4 TEXT]
[Dialog d_moongate_V4 BUTTON]
On=0
src.findid.i_tektiklama.remove
return 1
On=1 15
IF ( <eval <distance>> < 3 )
src.tag.git=<def.gate_<dargn>>
src.f_git
return 1
else
src.hata Moongate'yi kullanabilmek icin yakin olmalisiniz.
return 1
endif
[Function f_git]
if (<src.findid.i_rune_poison>)
src.hata Uzerinizde zehir varken moongate kullanamazsiniz.
return 1
elseif (<src.hits> < <src.str>)
src.hata Yaraliylen moongate kullanamazsiniz.
return 1
ELSE
src.go <src.tag.git>
src.findid.i_tektiklama.remove
return 1
endif
[Itemdef i_moongate_v4]
Defname=i_moongate_v4
Id=i_moongate_gray
Name=Moongate
Type=t_normal
On=@Create
Color=00
Attr=Attr_static
On=@Click
message @75 [ <serv.name> ]
message @55 ( <region.name> )
message @95 <name>
return 1
On=@Dclick
if (<distance> < 3)
if (<src.findid.i_tektiklama>)
src.hata Moongate'yi sadece bir kere acabilirsiniz.
return 1
else
sdialog d_moongate_v4
src.newitem i_tektiklama
src.act.bounce
return 1
endif
else
src.hata Moongate'yi kullanabilmek icin daha yakin olmalisiniz.
return 1
endif
On=@Step
if (<distance> < 3)
if (<src.findid.i_tektiklama>)
src.hata Moongate'yi sadece bir kere acabilirsiniz.
return 1
else
sdialog d_moongate_v4
src.newitem i_tektiklama
src.act.bounce
return 1
endif
else
src.hata Moongate'yi kullanabilmek icin daha yakin olmalisiniz.
return 1
endif
[itemdef i_tektiklama]
Id=i_gold
Name=Tek Tiklama
On=@Create
AttR=attr_invis|attr_decay
[EOF]
Bu ardada src.hata functionunu ve renkleri göndereyide sorun olmasın
bu sphere_new_functions.scp
//*************************************
// YAZAR: xwerswoodx
// YAPIM: Hamit Devecioğlu (c)2003-2009
// TARİH: 05.07.2009
// SAAT : 01:04
// KONU : Yeni Fonksiyonlar
//*************************************
Version:0.56b
[Function hata]
src.sysmessage @026 <args>
return 1
[Function np]
src.sysmessage @75 <args>
return 1
[Function duyuru]
serv.allclients sysmessage @048 <args>
return 1
[Function serv.hata]
serv.allclients sysmessage @026 <args>
return 1
[Function soru]
src.sysmessage @055 <args>
return 1
[Function tekraryap]
src.makeitem=<src.tag.craft>
return 1
[Function yapim]
src.makeitem <args>
src.tag.craft <args>
return 1
buda sphere_new_defs.scp
//************************************
// YAZAR: xwerswoodx
// YAPIM: Hamit Devecioğlu (c)2003-2009
// TARİH: 03.07.2009
// SAAT : 21:53
// KONU : Sphere New Defnames
//************************************
VERSION:0.56b
[Defname Renkler]
Beyaz 047e
Kirmizi 066d
Sari 0501
Turuncu 054d
Mor 04fa
Yesil 048f
Mavi 04f2
Pembe 04fc
Kahverengi 0612
Gri 0763
Lacivert 0454
Siyah 0001
Ozel 0508
Ozel2 0494
[EOF]
üff amma fazlaymış buda gates.scp
//************************************
// YAZAR: xwerswoodx
// YAPIM: Hamit Devecioğlu (c)2003-2009
// TARİH: 03.07.2009
// SAAT : 21:53
// KONU : Renkli Moongate
//************************************
VERSION:0.56b
//Yellow Moongate
[Itemdef i_moongate_yellow]
Defname=i_moongate_yellow
Id=i_moongate_red
Name=Moongate
Type=t_telepad
On=@create
Color=sari
//Gray Moongate
[Itemdef i_moongate_gray]
Defname=i_moongate_gray
Id=i_moongate_red
Name=Moongate
Type=t_telepad
On=@create
Color=gri
//Green Moongate
[Itemdef i_moongate_green]
Defname=i_moongate_green
Id=i_moongate_red
Name=Moongate
Type=t_telepad
On=@create
Color=yesil
//Purple Moongate
[Itemdef i_moongate_purple]
Defname=i_moongate_purple
Id=i_moongate_red
Name=Moongate
Type=t_telepad
On=@create
Color=mor
//Orange Moongate
[Itemdef i_moongate_orange]
Defname=i_moongate_orange
Id=i_moongate_red
Name=Moongate
Type=t_telepad
On=@create
Color=turuncu
//White Moongate
[Itemdef i_moongate_white]
Defname=i_moongate_white
Id=i_moongate_red
Name=Moongate
Type=t_telepad
On=@create
Color=beyaz
//Pink Moongate
[Itemdef i_moongate_pink]
Defname=i_moongate_pink
Id=i_moongate_red
Name=Moongate
Type=t_telepad
On=@create
Color=pembe
[EOF]