[ITEMDEF i_baslangic]
NAME=Baslangic Tasi
ID=i_grave_stone_4
ON=@Create
ATTR=04
COLOR=0823
On=@Click
message @0805 Baslangic Stone
return 1
On=@Dclick
if (<src.tag.baslangicstone> = 1)
src.sysmessage @0805 Bu Ne Aclik Bole...
return 1
else
src.tag.baslangicstone=1
src.events +fix
src.dialog d_baslangicstone
return 1
endif
[DIALOG d_baslangicstone]
0, 0
nomove
resizepic 20 5 3500 550 300 // Main menu
resizepic 40 65 3000 500 30 // Warrior
PAGE 0
button 45 70 2714 2715 1 0 1
dtext 77 70 2100 Oyuna Basla:
dtext 200 70 45 Yeni Bir Maceraya Hazir misin ?
dtext 45 35 100 XXX Pvp
dtext 45 270 100 Burasi XXX Burada Pvp Konusur...
[DIALOG d_baslangicstone BUTTON]
on=0
src.sysmessage @0805 Tusa basmadan kapatamazsiniz.
dialog d_baslangicstone
return 1
on=1
SRC.FAME 100
SRC.KARMA 100
SRC.STR 100
SRC.DEX 100
SRC.INT 100
SRC.HITS 100
SRC.STAM 100
SRC.MANA 100
src.events +fix // olmazsa dclick triggeri altınada ekleyebilirsin.
src.NEWITEM i_full_spellbook
ACT.MORE 0ffffffff
ACT.MORE2 0ffffffff
ACT.BOUNCE
src.NEWITEM i_runebook
ACT.MORE 0ffffffff
ACT.MORE2 0ffffffff
ACT.BOUNCE
src.newitem=i_robe
SRC.ACT.COLOR=0454
SRC.ACT.ATTR=04
SRC.ACT.EQUIP
src.newitem=i_shoes_plain
SRC.ACT.ATTR=04
SRC.ACT.equip
src.newitem=i_boots_calf
SRC.ACT.ATTR=04
SRC.ACT.BOUNCE
ser.newitem=i_dagger
src.act.attr=04
src.act.bounce
SRC.GO XxXxX // Buraya Nerde baslamasını istiyorsan oyuna orasının kordinatını yaz..
SRC.newitem i_gold
SRC.ACT.AMOUNT 15000
SRC.ACT.BOUNCE
SRC.SYSMESSAGE @90 Aldiginiz itemlerin hepsi kaybolmaz.
return 1
[events gmfix]
On=@Click
if (<flags>&statf_invisible) || (<flags>&statf_insubstantial) && (<account.plevel> >0)
message @020 [Invisible]
endif
if (<ACCOUNT.PLEVEL> = 2)
message @481 [ Counselor ]
message @0bb2 <name>
title SaiLoR Pvp Staff Member
return 1
elseif (0<account.plevel> == 3)
message @481 [ Seer ]
message @0bb2 <name>
title SaiLoR Pvp Staff Member
return 1
elseif (0<account.plevel> == 4)
message @481 [ Gamemaster ]
message @0bb2 <name>
title SaiLoR Pvp Staff Member
return 1
elseif (0<account.plevel> == 5)
message @481 [ Senior Gm ]
message @0bb2 <name>
title SaiLoR Pvp Staff Member
return 1
elseif (0<account.plevel> == 6)
message @481 [ Admin ]
message @0bb2 <name>
title SaiLoR Pvp Staff Member
return 1
elseif (strmatch('<account>'suraka'))
message @481 [ Genel Mudur ]
message @0bb2 <name>
title SaiLoR Pvp
return 1
elseif (0<account.plevel> == 7)
message @0481 [ Sunucu Sahibi ]
message @0bb2 <name>
title Sunucu Sahibi
return 1
endif
On=@DClick
if (0<account.plevel> < 1)
return 1
elseif
return 0
endif
On=@GetHit
return 1
on=@hit
return 1
On=@ItemClick
if ((<act.attr>&attr_static)) // statiq itemlari belirt
act.message @54 [sabit]
act.message @0481,1,1 [<act.name>]
return 1
endif
if ((<act.attr>&attr_invis)) // invisiple
itemlari belirt
act.message @07a1 [invisible]
act.message @17a1 [<act.name>]
src.sysmessage @07a1 Bu item invis elleme <src.name>.
return 1
endif
if (<act.type> == t_weapon_axe) || (<act.type> == t_weapon_mace_staff) || (<act.type> == t_weapon_fence) || (<act.type> == t_weapon_sword) || (<act.type> == t_weapon_mace_pick) || (<act.type> == t_weapon_mace_smith)|| (<act.type> == t_weapon_mace_sharp) || (<act.type> == t_weapon_bow) || (<act.type> == t_weapon_mace_staff) || (<act.type> == t_weapon_axe)
if (<src.act.morez> > 0)
src.sysmessage @54,1,1 bu silah zehirli.
endif
if !(<eval ((<act.more1l> * 100) / <act.more1h>)> == 100)
src.sysmessage @38,1,1 Bu silah %<eval (100 - ((<act.more1l> * 100) / <act.more1h>))> hasar almi$.
//return 0
else
//act.message @38,1,1 silahta hasar yok.
src.sysmessage @38,1,1 silahta hasar yok.
endif
endif
if (<act.topobj.id> == c_pv)
if (strmatch('<act.price>',''))
act.message @0842,1,1 [satilamaz]
elseif (<act.price> <= 0)
act.message @0842,1,1 [satilik degil]
else
if ((<act.type> == t_armor) || (<act.type> == t_armor_leather) || (<act.type> == t_shield) || (<act.type> == t_clothing) || (<act.type> == t_weapon_sword) || (<act.type> == t_weapon_fence) || (<act.type> == t_weapon_mace_staff) || (<act.type> == t_weapon_mace_smith) || (<act.type> == t_weapon_mace_pick) || (<act.type> == t_weapon_bow) || (<act.type> == t_weapon_xbow))
if !(<eval ((<act.more1l> * 100) / <act.more1h>)> == 100)
act.message @0842,1,1 [<act.price> gp] [%<eval (100 - ((<act.more1l> * 100) / <act.more1h>))> eski]
else
act.message @0842,1,1 [<act.price> gp]
endif
else
act.message @0842,1,1 [<act.price> gp]
endif
endif
endif
if (<act.layer> == 21) && (<act.cont.ischar>)
act.message @0842,1,1 [e$ya : <act.rescount>]
act.message @38,1,1 Inventory
return 1
else
if ((<act.attr>&attr_newbie)) // blessed itemlari belirt
if ((<act.type> == t_weapon_sword) || (<act.type> == t_weapon_fence) || (<act.type> == t_weapon_mace_staff) || (<act.type> == t_weapon_mace_smith) || (<act.type> == t_weapon_mace_pick) || (<act.type> == t_weapon_bow) || (<act.type> == t_weapon_xbow))
act.message @38 [ Newbiefied ]
act.message @38 [dmg: <act.dam>] [speed: <eval (2000/<act.weight>)>]
act.message @0481 <ACT.NAME>
return 1
else
if ((<act.type> == t_gold)
act.message @38 [ Newbiefied ]
act.message @0842,1,1 <act.amount> <act.name>
return 1
else
act.message @38 [ Newbiefied ]
act.message @0842,1,1 <act.name>
return 1
endif
endif
endif
if (<act.type> == t_container)
if !(<act.baseid> == i_strong_box)
if (<act.attr>&attr_move_never) && !(strmatch('<act.region.tag.owner>,'')) && (<act.region.type> == <region.type>)
act.message @0842,1,1 [Sabit]
endif
if (<act.baseid> == i_bones)
act.message @0842,1,1 [loot: <act.rescount> esya]
act.message @0842,1,1 <act.name>
elseif (<act.rescount> > 0)
act.message @0842,1,1 <act.typedef.name> [<act.rescount>,<eval ((<act.weight> / 10) - <act.typedef.weight>)>]
else
act.message @0842,1,1 <act.typedef.name>
endif
return 1
endif
endif
endif
if ((<act.topobj.uid> == <uid>)
if ((<act.type> == t_weapon_sword) || (<act.type> == t_weapon_fence) || (<act.type> == t_weapon_mace_staff) || (<act.type> == t_weapon_mace_smith) || (<act.type> == t_weapon_mace_pick) || (<act.type> == t_weapon_bow) || (<act.type> == t_weapon_xbow)) || (<act.type> == t_weapon_mace_sharp))
act.message @38 [dmg: <act.dam>] [speed: <eval (2000/<act.weight>)>]
act.message @0481 <act.name>
return 1
endif
endif
if ((<act.topobj.uid> == <uid>)
if ((<act.type> == t_rune)
act.message @0842,1,1 <act.name>
return 1
endif
endif
if ((<act.topobj.uid> == <uid>)
if ((<act.type> == t_armor) || (<act.type> == t_armor_leather) || (<act.type> == t_shield) || (<act.type> == t_clothing))
act.message @0842,1,1 <act.name>
return 1
endif
endif
if ((<act.type> == t_shield) || (<act.type> == t_weapon_sword) || (<act.type> == t_weapon_fence) || (<act.type> == t_weapon_mace_staff) || (<act.type> == t_weapon_mace_smith) || (<act.type> == t_weapon_mace_pick) || (<act.type> == t_weapon_bow) || (<act.type> == t_weapon_xbow))
act.message @0842,1,1 <act.name>
act.message @38 [dmg: <act.dam>] [speed: <eval (2000/<act.weight>)>]
return 1
endif
if ((<act.type> == t_armor) || (<act.type> == t_armor_leather) || (<act.type> == t_clothing)
act.message @0842,1,1 <act.name>
return 1
endif
On=@SkillStart
if ((<action> == id(skill_stealing)) || (<action> == skill_stealing)) // stealing fiks
if (<targ.topobj.baseid> == c_pv)
skill fail
return 1
endif
endif
[function f_stpublish] // staff join-part messager
if (0<account.plevel> > 1)
smsgx *** <args>
endif
[itemdef i_staff_chat]
name=staff chat
id=i_memory
type=t_eq_script
layer=30
[function staffchat]
src.newitem i_staff_chat
src.act.cont <src.uid>
src.tag.staffchat 1
src.sysmessage Staffchat: Aktif
return 1
[eof]
al bakalım