Hello! I'm trying to make a plugin that will notify when your item has less than 10 durability. I tried my best, but I don't get what is wrong in here. I'm new btw.
on item damage:
if {_durability} is less than 10 of player's tool:
send "&l&cYour %tool% has less than 10 of durability!"
on item damage:
if {_durability} is less than 10 of player's tool:
send "&l&cYour %tool% has less than 10 of durability!"