I want to make a shop where the player must hold a item and then click a button, and what I want to do is a "test for" like command to check if the item in the players hand matches the item in slot 0 in the chest. Is there a way to do that thanks.
or I could just check if the item is in the players inventory. :)