Sp regeneration / damage sp skills for RMXP

Hi! Anyone have a script that allows you to create skills that deal SP damage instead of HP? I would like to create skills that will allow you to restore sp points with another character from the team. I tried to do it through events but it's probably impossible. Can someone help me? P.S Sorry for my English.
Tons of Add-ons has a basic regen state for HP and SP

For a little more fine-tuned adjustment or different strengths of regen/poison, you can also try
Tons of Add-ons has a basic regen state for HP and SP

For a little more fine-tuned adjustment or different strengths of regen/poison, you can also try

I know there is such a script in tons of add-on, but I don't want to download all the scripts from it. HoT DoT is exactly what it needs.

Original thread: https://forums.rpgmakerweb.com/threads/sp-regeneration-damage-sp-skills-for-rmxp.133401/