On=@ItemClick
if (strmatch('<act.cont.uid>','t_eq_trade_window'))
act.message [secure]
endif
if (<act.layer> == 21) && (<act.cont.ischar>)
act.message [Inventory]
return 1
else
if ((<act.attr>&attr_newbie) && (0<topobj.npc> == 0))
act.message [newbified]
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.uid> == <region.uid>)
act.message [static]
endif
if (<act.baseid> == i_bones)
act.msgua [loot: <act.rescount> eşya]
act.msgua <act.name>
elseif (<act.rescount> > 0)
act.msgua <act.typedef.name> [<act.rescount>,<eval ((<act.weight> / 10) - <act.typedef.weight>)>]
else
act.msgua <act.typedef.name>
endif
return 1
endif
endif
endif