Spróbuj z tym:
on inventory click:
if "%inventory name of player's current inventory%" is "{@opis}":
if clicked slot is smaller than 0:
stop
if clicked slot is not air:
cancel event
execute player command "cozrobicztymgraczemasuigborgns %uncoloured name of player's current inventory's slot slot%"
stop