Any eventhandler for other inventory

hi all, ty for all your help on this forum.

need some help i wanna code to see the inventory to player i see

maybe in addeventhandler .?

ty