I have a question about these codes if I'm using them correctly. Because when I'm using them they don't broadcast anything. Thank you.
Code:
if tool of arg-1 is any sword: #sword
broadcast "ddd"
if tool of arg-1 is any pickaxe, any axe and any shovel: #pickaxe, axe and shovel
broadcast "ddd"
if arg-1's held item is any helmet, any chestplate, any leggings and any boots: #helmet, chestplate, leggings and boots
broadcast "ddd"