The Meaning of Life, the Universe, and Everything.
Is there a way I could give apply a full set of armor and a potion effect to any player holding a specific item? I know how to find the item in an inventory, and i know how to give armor and potion effects, but how do i give the armor/effects only to the player holding the item? Also, for every player NOT holding the item, I want to give them a sword and a different potion effect. I'm assuming this would be a similar command.