Gauge swap to a Variable

So I'm using all of Yanfly's scripts, in which you can swap gauges to various things.

but I wanted to have it show a variable, to show a weapon overheat, if anyone was wondering why.

I would like to know if there even is a way to do that with current scripts out there.
to clarify, id like to have it count up everytime the user attacks, and then once it reaches a point the user cant attack until 

they use a cooldown spell.

Original thread: https://forums.rpgmakerweb.com/threads/gauge-swap-to-a-variable.54243/