Skill requiring TP without using them

I'm pretty sure this is a stupid question, but I remember seeing a script that lets you set skills so they require the user to have a certain amount of TP, but they don't consume them.

Does anybody know where it is?
http://yanflychannel.wordpress.com/rmvxa/gameplay-scripts/skill-cost-manager/

Use tags

<custom cost requirement>$game_actors[id].tp >= 20 # for example<custom cost requirement>id is an actor id in database
you can use scripts like the one listed above, or you can have a common event called by the script restore the TP after they were consumed by the skill.
Ok, I got it! I had missed that option of Yanfly Skill Cost.

Thank you, this can be closed now.
You dont really need a script, you can just make it require TP, then restore TP of caster using the formula bar...

so your formula bar would be something like

a.tp+=amount ; damage formula
You dont really need a script, you can just make it require TP, then restore TP of caster using the formula bar...
Yeah, I know, but if I do it like that, when you use the skill in batte you see the character losing TP and regaining them. :/

Anyway, the script theodoric suggested is the one I was searching for, so this is solved.

Original thread: https://forums.rpgmakerweb.com/threads/skill-requiring-tp-without-using-them.19878/