[itemdef i_potionheal]
name=Greater Heal
id=i_bottle_yellow
on=@create
attr 010
on=@click
message @07a1 Greater Heal
return 1
on=@dclick
if (<src.findid.i_potion_healgreat> < 1)
src.newitem=i_potion_healgreat,20,<uid>
else
src.findid.i_potion_healgreat.amount 20
endif
return 1
[itemdef i_potionheal]
name=Greater Heal
id=i_bottle_yellow
type=t_script
on=@create
attr 010
on=@click
message @07a1 Greater Heal
return 1
on=@dclick
if !(<src.findid.i_potion_healgreat>)
serv.newitem=i_potion_healgreat,20,<src.uid>
else
src.findid.i_potion_healgreat.amount 20
src.sysmessage cantanizdaki g.heal potion 20 yapildi.
endif
return 1