Code:
on right click:
if player is holding a quartz named "&fBandage":
play sound "meds.bandage" with volume 1 to player
wait 90 ticks
add 0.5 to player's health
remove 1 quartz named "&fBandage" from the player