on rightclick:
if player is holding wooden hoe named "&2Life wand":
if player has permission "life.heal":
if difference between {life::%player%::lastuse} and now is smaller than 10 seconds:
send "&a%difference between {life::%player%::lastuse} and now% &2seconds to use &aheal."
stop
send "&2You healed yourself"
heal player by 0.5 hearts
spawn 5 of particle heart:1 offset by 1, 2, 1 at player
execute console command "/playsound random.pop to %player%"
set {life::%player%::lastuse} to now
@topic