I just had help with :

    /scoreboard players set @a jump 0 {SelectedItem:{id:minecraft:ender_eye}}

But I was wondering if you could have it so it was any item this would be a great help as other wise I would have to use multiple command blocks this wouldn't be a problem if I wasn't doing a one block command.