Stizz -  01-08-2009 12:20
Kod:
[function not]
if (strmatch('<args>',''))
findid.i_notter.remove
newitem i_notter
act.morex 2
act.equip
else
findid.i_notter.remove
newitem i_notter
act.tag.not <args>
act.morex 1
act.equip
endif

[itemdef i_notter]
name not ekleyici
id i_gold
weight 0
layer layer_special
type t_eq_script

On=@Equip
timer 15
if (<morex> == 1)
target Not kime eklenecek?
elseif (<morex> == 2)
target Kimin notunu sileceksiniz?
endif
return 1

On=@TargOn_Char
if (0<src.targ.account.plevel> > 1)
src.sysmessage Staff uyelerinde bu komutu kullanamazsiniz.
elseif (<src.targ.npc>)
src.sysmessage NPC'lere not ekleyemezsiniz.
elseif (<morex> == 2)
src.sysmessage <src.targ.name>: not silindi.
src.targ.tag.not
src.targ.tag.notter
src.targ.events -e_notted
elseif (<morex> == 1)
src.sysmessage <src.targ.name>: not eklendi.
src.targ.tag.not <tag.not>
src.targ.tag.notter <src.account.name>
src.targ.events +e_notted
endif
remove
return 1

On=@TargOn_Item
remove
return 1

On=@TargOn_Ground
remove
return 1

On=@Timer
remove
return 1

[events e_notted]
On=@Click
if (<src.account.plevel> > 2)
message @0845  Not: <tag.not> /<tag.notter>
endif

YORUMLAR (0)

Henüz yorum yapılmamış.

BENZER SAYFALAR