This funny bit of code here works without the name. once i ask for the name of the item, it no longer works. any ideas? thanks
if victim's leggings are iron leggings with name "§bDivertive Slacks": if victim is sneaking: chance of 100%: cancel event play sound "entity.armor_stand.hit" with volume 0.5 at location of victim