/say @e[nbt={Selecteditem:{id:"minecraft:trident"}}]
is output my name,
but
/say @e[nbt={Selecteditem:{id:"minecraft:trident"},tag:{ench:[{lvl:1s,id:68s}]}}]
can't say my name if i have this trident
/say @e[nbt={Selecteditem:{id:"minecraft:trident"}}]
is output my name,
but
/say @e[nbt={Selecteditem:{id:"minecraft:trident"},tag:{ench:[{lvl:1s,id:68s}]}}]
can't say my name if i have this trident
it’s SelectedItem, not Selecteditem.
the tag tag goes inside the SelectedItem.