ya event su anda benım charımda mevcut yanı ınfodanda baksam show events te ceksem hepsınde e_editmi gorunuyor zaten. ama .add ile bi item ekledıgımde o ıtemın yanında yada ustunde kımın ekledıgıne daır bır ısım hatta evente bakıcak olurska tarıh fılan goremıyorum.
event scp yı komple eklıım
[events e_ozurlu]
on=@skillstart
if !(<isgm>)
src.action -1
endif
on=@spellcast
if !(<isgm>)
src.f_fizzle
endif
[events e_editmi]
on=@itemcreate
if (<src.account.plevel> > 1)
try uid.<argo.uid>.tag.cikaran <eval <src.uid>>
try uid.<argo.uid>.tag.tarihi <serv.rtime>
endif
on=@itemclick
if (<act.tag0.cikaran>)
act.message [Cikaran : <uid.<act.tag0.cikaran>.name>]
act.message [Tarih :<act.tag.tarihi>]
endif
on=@charcreate
if (<src.account.plevel> > 1)
try uid.<argo.uid>.tag.cikaran <eval <src.uid>>
try uid.<argo.uid>.tag.tarihi <serv.rtime>
endif
on=@charclick
if (<act.tag0.cikaran>)
act.message [Cikaran : <uid.<act.tag0.cikaran>.name>]
act.message [Tarih :<act.tag.tarihi>]
endif
//////////////////////////////
[itemdef i_fx_bc]
id 03779
weight 0
name freeze effect
On=@Create
color 0803
attr attr_move_never
timer 1
On=@Timer
remove
return 1
//////////////////////////////////////
[events e_bow_carnesir]
On=@HitTry
if (<src.stone>)
flags <flags>&~statf_war
return 1
endif
On=@Hit
if (<findlayer(2).baseid> == i_bow_carnesir)
src.sfx 485
src.newitem i_fx_bc
src.act.p <src.p>
src.act.nudgeup 5
if !(<src.findid.i_stoner>)
src.newitem i_stoner
src.act.equip
endif
flags <flags>&~statf_war
return 1
else
events -e_bow_carnesir
endif
////////////////////////////////////////////////
[events e_elf]
[events e_orc_ai]
On=@ItemStep
if (<act.type> == t_corpse) && (<act.link> != 04fffffff) && (<act.amount> == 400) || (<act.amount> == 401))
if !(strmatch('<tag.loot>','<act.uid>'))
tag.loot <act.uid>
if (<act.rescount> > 30)
tag.lootrescount 30
else
tag.lootrescount <act.rescount>
endif
leave 1
f_orcish_style
return 0
endif
endif
[function f_orcish_style]
if (<eval <tag.lootrescount>> > 0)
tag.lootrescount <eval (<tag.lootrescount> - 5)>
if (strmatch('<act.findcont.(<eval <tag.lootrescount>>).type>','t_gold')) || (strmatch('<act.findcont.(<eval <tag.lootrescount>>).type>','t_reagent')) (strmatch('<act.findcont.(<eval <tag.lootrescount>>).type>','t_potion')) || (strmatch('<act.findcont.(<eval <tag.lootrescount>>).type>','t_bandage')) || (strmatch('<act.findcont.(<eval <tag.lootrescount>>).baseid>','i_pouch_trapped'))(strmatch('<act.findcont.(<eval <tag.lootrescount>>).type>','t_armor')) || (strmatch('<act.findcont.(<eval <tag.lootrescount>>).type>','t_clothing')) || (strmatch('<act.findcont.(<eval <tag.lootrescount>>).type>','t_food'))
try tag.lootstone <act.findcont.(<eval <tag.lootrescount>>).weight>
f_orcish_style_loot <eval <tag.lootrescount>>
tag.lootrescount
else
f_orcish_style
endif
else
sayu * Cesetteki Esyalara Bakar *
tag.lootrescount
endif
return 0
[function f_orcish_style_loot]
if !(<eval (<tag.lootstone> + <weight>)> > <weightmax>)
sayu * cesetten bir esya alir *
try act.findcont.<args>.cont <findlayer.(21).uid>
tag.lootrescount
tag.lootstone
endif
return 0
[events e_gmyasak]
on=@dclick
if !(<src.flags>&statf_dead) && (<src.account.plevel> > 1)
if ((<npc> == brain_monster) || (<npc> == brain_dragon) || (<npc> == brain_undead) || (<npc> == brain_animal) || (<baseid> == c_m_balron))
if !(strmatch('<src.account>','Treth')) && !(strmatch('<src.account>','treth')) && !(strmatch('<src.account>','ainsworth'))
src.sysmessage @38 Yetkili charinizla bu islemi yapamazsiniz!
src.sysmessage @50 Yapmis oldugunuz islem <src.account>.txt log dosyasina kaydedildi.
src.serv.writefile c:\sphere\logs\stafflog\<src.account>.txt <serv.rtime> [<src.account>] yaratiklarin cantasini karistirdi yada ata binmeye calisti.
return 1
endif
endif
endif
on=@hittry
if (<act.id>==c_pv)
return 1
endif
[events e_intel_golem_tinker]
On=@GetHit
if (<memoryfindtype.memory_ipet.link.canseelos>) && (<argn> > 5)
if (<memoryfindtype.memory_ipet.link.mana> > 5)
memoryfindtype.memory_ipet.link.mana (<memoryfindtype.memory_ipet.link.mana> - {3 5})
elseif (<memoryfindtype.memory_ipet.link.hits> > 5)
memoryfindtype.memory_ipet.link.damage {10 20}
endif
endif
On=@EnvironChange
food 999
On=@Click
if (<memoryfindtype.memory_ipet>)
message @039 <memoryfindtype.memory_ipet.link.name>
endif
on=@dclick
if !(<src.flags>&statf_dead) && (<src.account.plevel> > 1)
if ((<npc> == brain_monster) || (<npc> == brain_dragon) || (<npc> == brain_undead) || (<npc> == brain_animal) || (<baseid> == c_m_balron))
if !(strmatch('<src.account>','Treth')) && !(strmatch('<src.account>','ainsworth')) && !(strmatch('<src.account>','treth')) && !(strmatch('<src.account>','ainsworth'))
src.sysmessage @38 Yetkili charinizla bu islemi yapamazsiniz!
src.sysmessage @50 Yapmis oldugunuz islem <src.account>.txt log dosyasina kaydedildi.
src.serv.writefile c:\sphere\logs\stafflog\<src.account>.txt <serv.rtime> [<src.account>] golemin cantasini acmaya calisti.
return 1
endif
endif
endif
[events e_pazar]
On=@GetHit
if (<src.memoryfindtype.memory_ipet>)
if !(<src.findid.i_stoner>)
src.newitem i_stoner
src.act.equip
endif
return 1
endif
if (<src.isevent.e_pazar>)
if !(<src.findid.i_stoner>)
src.newitem i_stoner
src.act.equip
endif
return 1
endif
On=@SkillStart
if !(<src.npc>)
if !(<findid.i_stoner>) && ((<action> == id(skill_snooping)) || (<action> == skill_snooping) || (<action> == id(skill_stealing)) || (<action> == skill_stealing))
src.skill fail
newitem i_stoner
act.equip
return 1
endif
endif
if !(<isgm>)
sysmessage @38 Bu bolgede skill kasilmasi yasaktir !
skill fail
return 1
endif
On=@Exit
src.events -e_pazar
[events e_delucia]
On=@GetHit
if (<src.memoryfindtype.memory_ipet>)
if !(<src.findid.i_stoner>)
src.newitem i_stoner
src.act.equip
endif
return 1
endif
if (<kills> > 5) && (<src.isevent.e_delucia>)
if !(<src.findid.i_stoner>)
src.newitem i_stoner
src.act.equip
endif
return 1
endif
On=@SpellCast
if !((<argn> == 32) || (<argn> == 45) || (<argn> == 52) || (<argn> == 6) || (<argn> == 2) || (<argn> == 4) || (<argn> == 7) || (<argn> == 9) || (<argn> == 10) || (<argn> == 11) || (<argn> == 15) || (<argn> == 16) || (<argn> == 17) || (<argn> == 36) || (<argn> == 59) || (<argn> == 41))
f_fizzle
return 1
endif
On=@SkillStart
if !(<src.findid.i_stoner>) && ((<src.action> == id(skill_snooping)) || (<src.action> == skill_snooping) || (<src.action> == id(skill_stealing)) || (<src.action> == skill_stealing))
src.newitem i_stoner
src.act.equip
return 1
endif
[events e_touch]
On=@GetHit
if ((<argn> > 15) && (<hits> <= <eval (<str> - 10)>))
hits (<hits> + 10)
endif
[events e_nopd]
On=@DClick
if (<uid> != <src.uid>)
return 1
endif
[events e_human_environ]
On=@GetHit
if (<memoryfindtype.memory_ispawned>) && (<npc> == brain_banker) || (<npc> == brain_vendor) || (<npc> == brain_vendor_offduty) || (<npc> == brain_animal_trainer) || (<npc> == brain_healer))
if (<src.npc>))
src.leave 20
endif
endif
on=@click //vendor isim dalgasi..
message @1100 <name> <title>
return 1
On=@DClick
if (<distance> < 4)
if !((<src.flags>&statf_dead)) && ((<npc> == brain_vendor) || (<npc> == brain_animal_trainer) || (<npc> == brain_healer))
if !(strmatch('<src.account>','Treth')) && !(strmatch('<src.account>','treth')) && !(strmatch('<src.account>','ainsworth'))
hear buy
return 1
endif
endif
if ((<src.flags>&statf_dead) && (<npc> == brain_healer))
if !(strmatch('<src.account>','Treth')) && !(strmatch('<src.account>','treth')) && !(strmatch('<src.account>','ainsworth'))
hear resurrect
endif
endif
endif
On=@EnvironChange
if (<flags>&statf_war)
return 0
endif
if !(<sector.isdark>) || (<flags>&statf_nightsight)
if (<findlayer(layer_hand2)>)
if (<findlayer(layer_hand2).type> == t_light_lit)
findlayer(layer_hand2).bounce
endif
endif
return 0
endif
if (<findlayer(layer_hand2)>)
if (<findlayer(layer_hand2).type> == t_light_lit)
return 0
endif
endif
if (<findtype.t_light_out>)
findtype.t_light_out.equip
findtype.t_light_out.use
endif
return 0
[events e_human_Greet]
ON=@GetHit
if (<src.findid.i_rune_summon_creature>)
src.remove
return 1
endif
hits <str>
on=@hittry
if (<act.id>==c_pv)
return 1
endif
[events e_human_hearunk]
[events e_human_convinit]
[events e_human_space]
[events e_human_needs]
on=@dclick
if !(<src.flags>&statf_dead) && (<src.account.plevel> > 1)
if ((<npc> == brain_vendor) || (<npc> == brain_animal_trainer) || (<npc> == brain_healer))
if !(strmatch('<src.account>','Treth')) && !(strmatch('<src.account>','treth')) && !(strmatch('<src.account>','ainsworth'))
src.sysmessage @38 Yetkili charinizla bu islemi yapamazsiniz!
src.sysmessage @50 Yapmis oldugunuz islem <src.account>.txt log dosyasina kaydedildi.
src.serv.writefile c:\sphere\logs\stafflog\<src.account>.txt <serv.rtime> [<src.account>] vendorlarin cantasini acmaya calisti.
return 1
endif
endif
endif
[events e_human_scavenge]
[events e_human_refuse]
[events e_heal_recall]
[events e_heal]
[events e_recall_recall]
[events e_death_counter]
[events e_undead]
on=@dclick
if !(<src.flags>&statf_dead) && (<src.account.plevel> > 1)
if ((<npc> == brain_monster) || (<npc> == brain_dragon) || (<npc> == brain_undead) || (<npc> == brain_animal) || (<baseid> == c_m_balron))
if !(strmatch('<src.account>','Treth')) && !(strmatch('<src.account>','treth')) && !(strmatch('<src.account>','ainsworth')) && !(strmatch('<src.account>','treth'))
src.sysmessage @38 Yetkili charinizla bu islemi yapamazsiniz!
src.sysmessage @50 Yapmis oldugunuz islem <src.account>.txt log dosyasina kaydedildi.
src.serv.writefile c:\sphere\logs\stafflog\<src.account>.txt <serv.rtime> [<src.account>] undeadlarin cantasini acmaya calisti.
return 1
endif
endif
endif
[events e_orc]
[events e_carnivores]
[events e_carnivores2]
[events e_carnivores3]
[events e_terathan]
on=@dclick
if !(<src.flags>&statf_dead) && (<src.account.plevel> > 1)
if ((<npc> == brain_monster) || (<npc> == brain_dragon) || (<npc> == brain_undead) || (<npc> == brain_animal) || (<baseid> == c_m_balron))
if !(strmatch('<src.account>','Treth')) && !(strmatch('<src.account>','treth')) && !(strmatch('<src.account>','ainsworth')) && !(strmatch('<src.account>','treth'))
src.sysmessage @38 Yetkili charinizla bu islemi yapamazsiniz!
src.sysmessage @50 Yapmis oldugunuz islem <src.account>.txt log dosyasina kaydedildi.
src.serv.writefile c:\sphere\logs\stafflog\<src.account>.txt <serv.rtime> [<src.account>] terethanlarin cantasini acmaya calisti.
return 1
endif
endif
endif
[events e_ophidian]
on=@dclick
if !(<src.flags>&statf_dead) && (<src.account.plevel> > 1)
if ((<npc> == brain_monster) || (<npc> == brain_dragon) || (<npc> == brain_undead) || (<npc> == brain_animal) || (<baseid> == c_m_balron))
if !(strmatch('<src.account>','Treth')) && !(strmatch('<src.account>','ainsworth')) && !(strmatch('<src.account>','treth')) && !(strmatch('<src.account>','treth'))
src.sysmessage @38 Yetkili charinizla bu islemi yapamazsiniz!
src.sysmessage @50 Yapmis oldugunuz islem <src.account>.txt log dosyasina kaydedildi.
src.serv.writefile c:\sphere\logs\stafflog\<src.account>.txt <serv.rtime> [<src.account>] ophidianlarin cantasini acmaya calisti.
return 1
endif
endif
endif
[events e_horses]
On=@SpellEffect
if (<hits> < 1)
src.f_fizzle
src.sysmessage @50 Cok ictin galiba hayal goruyorsun!
remove
return 1
endif
on=@dclick
if !(<src.flags>&statf_dead) && (<src.account.plevel> > 1)
if ((<npc> == brain_monster) || (<npc> == brain_dragon) || (<npc> == brain_undead) || (<npc> == brain_animal) || (<baseid> == c_m_balron))
if !(strmatch('<src.account>','Treth')) && !(strmatch('<src.account>','ainsworth')) && !(strmatch('<src.account>','treth')) && !(strmatch('<src.account>','treth'))
src.sysmessage @38 Yetkili charinizla bu islemi yapamazsiniz!
src.sysmessage @50 Yapmis oldugunuz islem <src.account>.txt log dosyasina kaydedildi.
src.serv.writefile c:\sphere\logs\stafflog\<src.account>.txt <serv.rtime> [<src.account>] spawmdan binek calmaya calisti.
return 1
endif
endif
endif
[events e_notoriety]
[events e_ostards]
On=@SpellEffect
if (<hits> < 1)
src.f_fizzle
src.sysmessage @50 Yok oyle bir sey!
remove
return 1
endif
on=@dclick
if !(<src.flags>&statf_dead) && (<src.account.plevel> > 1)
if ((<npc> == brain_monster) || (<npc> == brain_dragon) || (<npc> == brain_undead) || (<npc> == brain_animal) || (<baseid> == c_m_balron))
if !(strmatch('<src.account>','Treth')) && !(strmatch('<src.account>','ainsworth')) && !(strmatch('<src.account>','wassago')) && !(strmatch('<src.account>','treth1'))
src.sysmessage @38 Yetkili charinizla bu islemi yapamazsiniz!
src.sysmessage @50 Yapmis oldugunuz islem <src.account>.txt log dosyasina kaydedildi.
src.serv.writefile c:\sphere\logs\stafflog\<src.account>.txt <serv.rtime> [<src.account>] spawmdan binek calmaya calisti.
return 1
endif
endif
endif
[events ei2]
[events e_ai]
[events e_ai_s]
[events 00]
[events 01]
[events e_intelligent]
on=@Spelleffect
if (<argn>==20) || (<argn>==39) || (<argn>==38) || (<argn>==47)
sayua 0481,6,6,6 * Buyuden Etkilenmez *
return 1
endif
On=@NPCSeeNewPlayer
if (<src.findid.i_morpher>) && !(<src.findid.i_pre_morph>) && (<mana> > 20)
face
anim 17
sound snd_spell_dispel
src.spelleffect 41 1000
mana (<mana> - 20)
sayua 754 6 6 6 * buyu etkisini kaldirir *
endif
On=@EnvironChange
if (<hits> < <str>) && !(<memoryfindtype.memory_war_targ>)
if (rand(3) == 1)
anim 17
sound snd_spell_greater_heal
spelleffect 29 {1900 2100}
sayua 754 6 6 6 * kendini iyilestirir *
endif
endif
On=@GetHit
if (<findid.i_rune_poison>) || (<findid.i_rune_poison_field>)
if (rand(4) == 1)
face
anim 17
effect 3,0376a,1,30,1
sound snd_spell_cure
findid.i_rune_poison.remove
findid.i_rune_poison_field.remove
sayua 754 6 6 6 * zehir etkisini kaldirir *
endif
elseif (<hits> <= (<str> / 3))
if (<mana> > 30) && (<argn> < <hits>)
if (rand(3) == 1)
flee
anim 17
sound snd_spell_greater_heal
spelleffect 29 {1900 2100}
mana (<mana> - 30)
sayua 754 6 6 6 * kendini iyilestirir *
return 1
endif
endif
elseif (<src.findid.i_rune_summon_creature>) && (<mana> > 20)
face
anim 17
sound snd_spell_dispel
src.hits 0
mana (<mana> - 20)
sayua 754 6 6 6 * buyu etkisini kaldirir *
elseif (<src.findid.i_morpher>) && !(<src.findid.i_pre_morph>) && (<mana> > 20)
face
anim 17
sound snd_spell_dispel
src.spelleffect 41 1000
mana (<mana> - 20)
sayua 754 6 6 6 * buyu etkisini kaldirir *
endif
on=@dclick
if !(<src.flags>&statf_dead) && (<src.account.plevel> > 1)
if ((<npc> == brain_monster) || (<npc> == brain_dragon) || (<npc> == brain_undead) || (<npc> == brain_animal) || (<baseid> == c_m_balron))
if !(strmatch('<src.account>','Treth')) && !(strmatch('<src.account>','ainsworth')) && !(strmatch('<src.account>','treth')) && !(strmatch('<src.account>','Treth'))
src.sysmessage @38 Yetkili charinizla bu islemi yapamazsiniz!
src.sysmessage @50 Yapmis oldugunuz islem <src.account>.txt log dosyasina kaydedildi.
src.serv.writefile c:\sphere\logs\stafflog\<src.account>.txt <serv.rtime> [<src.account>] buyulerden etkilenmeyen yaratiklarin cantasini acmaya calisti.
return 1
endif
endif
endif
[events e_new_dun]
on=@step
if !(<src.npc>)
if (0<account.plevel> < 2)
if (<1> < 70.0) && (<2> < 70.0) && (<3> < 70.0) && (<4> < 70.0) && (<5> < 70.0) && (<6> < 70.0) && (<7> < 70.0) && (<8> < 70.0) && (<9> < 70.0) && (<10> < 70.0) && (<11> < 70.0) && (<12> < 70.0) && (<13> < 70.0) && (<14> < 70.0) && (<15> < 70.0) && (<16> < 70.0) && (<17> < 70.0) && (<18> < 70.0) && (<19> < 70.0) && (<20> < 70.0) && (<21> < 70.0) && (<22> < 70.0) && (<23> < 70.0) && (<24> < 70.0) && (<25> < 70.0) && (<27> < 70.0) && (<28> < 70.0) && (<29> < 70.0) && (<30> < 70.0) && (<31> < 70.0) && (<32> < 70.0) && (<33> < 70.0) && (<34> < 70.0) && (<35> < 70.0) && (<36> < 70.0) && (<37> < 70.0) && (<38> < 70.0) && (<39> < 70.0) && (<40> < 70.0) && (<41> < 70.0) && (<42> < 70.0) && (<43> < 70.0) && (<44> < 70.0) && (<45> < 70.0) && (<46> < 70.0) && (<47> < 70.0) && (<48> < 70.0) && (<49> < 70.0) && (<26> < 70.0)
return 0
else
sysmessage @056,,1 Newbie Dungeon'a Giremeyecek kadar Yeteneklisiniz..!
go marble island
events -e_newbie_dung
return 1
endif
else
return 0
endif
endif
on=@hittry
if (<act.isplayer>)
sysmessage @020,,1 Bu alanda oyunculara vuramazsiniz!!!
return 1
endif
on=@spellcast
if (<act.isplayer>)
if !((<argn> == 32) || (<argn> == 45) || (<argn> == 52) || (<argn> == 6) || (<argn> == 2) || (<argn> == 4) || (<argn> == 7) || (<argn> == 9) || (<argn> == 10) || (<argn> == 11) || (<argn> == 15) || (<argn> == 16) || (<argn> == 17) || (<argn> == 36) || (<argn> == 59) || (<argn> == 41))
f_fizzle
sysmessage @020,,1 Bu alanda oyunculara zararli buyu atamazsiniz.!!!
return 1
endif
endif
[events e_pvpalani]
on=@spellcast
if (<act.isplayer>)
if !((<argn> == 32) || (<argn> == 45) || (<argn> == 52) || (<argn> == 6) || (<argn> == 2) || (<argn> == 4) || (<argn> == 7) || (<argn> == 9) || (<argn> == 10) || (<argn> == 11) || (<argn> == 15) || (<argn> == 16) || (<argn> == 17) || (<argn> == 36) || (<argn> == 59) || (<argn> == 41))
f_fizzle
sysmessage @020,,1 Bu alanda bazi buyuleri atamazsiniz.!!!
return 1
endif
endif
[EVENTS e_hitalma]
on=@damage
src.action -1
src.criminal
src.poison 9000
src.hits 1
action -1
hits 1000
return 1
on=@gethit
src.criminal
src.poison 9000
src.hits 1
action -1
hits 1000
return 1
on=@spelleffect
IF (<SRC.UID>==<UID>)
return 1
else
say * Etkilenmez *
src.criminal
src.poison 9000
src.hits 1
return 1
endif
on=@hittry
src.action -1
src.criminal
src.poison 9000
action -1
return 1
on=@hit
src.action -1
src.criminal
src.poison 9000
action -1
return 1
[EVENTS e_kimin]
on=@click
if (<eval <npc>> = 1)
var.sahip=<owner>
message [<uid.<var.sahip>.name>]
endif
[itemdef i_flam_bugcusu]
id=i_memory
type=t_eq_script
on=@Create
attr=04
on=@equip
timer 1
return 1
on=@timer
remove
return 1
[itemdef i_flame_bugcusu]
id=i_memory
type=t_eq_script
on=@Create
attr=04
on=@equip
timer 1
return 1
on=@timer
remove
return 1
[EOF]
komple event scp burda en ustede onu ekledım ama calısmıyor.