How to determine if a skill has been used

Hi,

I'm trying to come up with a method to determine if a specific skill has been used in battle.

For instance hero 1 uses skill A. When skill A is used I want it to charge a gauge. But I can't determine that skill A has been used.

I've tried using an MP differential where initial and final MP values are subtracted but I can't get it to work and I'm not sure where the problem is.

Thanks for any input!
I'm not sure what you're using for the gauge mechanic (if it's a custom plugin or something, I'm not sure if what I'm about to say will work), but maybe this could work:

Add a common event to Skill A that will add +1 (or any number) to a variable.
Then make it so that that that number is added to the gauge. Would something like that be able to work?

Edit:
OH I just realized this is for rpgmaker 2000/2003! Sorry! I have no idea if this works in 2k/2k3...
Hey,

The problem is different skills within the subset charge the gauge different amounts.
Skill A might charge it 1 point, Skill B charges it 2 points, Skill C charges it 3 points. My problem is figuring out whether skill A B or C has been used.

No plug-ins, everything done by common events or battle events. Is there a way to attach a common event to a skill without turning the whole skill into a switch and having to event the whole skill?
Since I don't own 2000/2003, I don't think I'll be able to help on something specific like this... Sorry about that, I hope you're able to get a solution!
2k3 doesnt let you just have common event as part of skill's "effects" section?
i know other RMs can. just can only have 1 common event per skill
(aside from plugin/script triggered events)

Original thread: https://forums.rpgmakerweb.com/threads/how-to-determine-if-a-skill-has-been-used.132339/