Event for using an item?

Does anyone know what EVENT I can watch for, to see when an item is used?
in particular, healing potions. I was trying to code it to play a sound when a potion was used. I had hoped SPELL_CAST_SUCCESS in the combat event log would catch it, but it appears not…

any ideas?

I don’t remember but you can go to a remote place (and by that I mean somewhere close to fatigue debuff) and type /etrace. It will open a window showing all events that are being triggered. You can then use the item and type /etrace stop and move trought the list and figure out with event it the right one.

OMG… I’ve been (amateur/hobby level) writing mods since vanilla and I’ve never heard of this /etrace before! This is amazing! Do you have any idea how much of a difference you’ve just made in my mod writing?! I’m blown away! Thank you!

Glad to hear that.
_https://wow.gamepedia.com/MACRO_eventtrace