Kod:
[events e_player]
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 :D itemlari belirt
act.message @07a1 [Invisible]
act.message @049,,1 [<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 @049,,1 Bu Silah Zehirli.
endif
if !(<eval ((<act.more1l> * 100) / <act.more1h>)> == 100)
src.sysmessage @049,,1 Bu Silah %<eval (100 - ((<act.more1l> * 100) / <act.more1h>))> Hasar AlmiS.
//return 0
else
//act.message @049,,1 Silahta Hasar Yok.
src.sysmessage @049,,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.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 @049,,1 [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 @049,,1 [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
[EOF]
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 :D itemlari belirt
act.message @07a1 [Invisible]
act.message @049,,1 [<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 @049,,1 Bu Silah Zehirli.
endif
if !(<eval ((<act.more1l> * 100) / <act.more1h>)> == 100)
src.sysmessage @049,,1 Bu Silah %<eval (100 - ((<act.more1l> * 100) / <act.more1h>))> Hasar AlmiS.
//return 0
else
//act.message @049,,1 Silahta Hasar Yok.
src.sysmessage @049,,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.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 @049,,1 [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 @049,,1 [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
[EOF]
Yorumlar
Henüz yorum yapılmamıştır.
|
OylamalarOylama :![]()
Üyelerin oylama ortalaması (10 dışında) : Henüz Oylanmamış
Oylar: 0 |
Benzer Sayfalar
| Sayfalar | Yorumlar | Gönderen | Tarih |
| Online Player Listesi | 0 | Walkova | 23-12-2011 |
| Jadore | Player Versus Player | 0 | Robell | 03-12-2011 |
| Player Komutları | 0 | Roes | 13-10-2011 |
| Events Yapımı ve İf Sorgulama | 0 | ^Qnd^ | 09-09-2010 |
| Player Vendor Gumps | 0 | Rowall | 01-09-2009 |







