Restore single spell or spell level

Is there a console command or script that can restore single spell,or spell from one spell level without full rest ?
Im looking to write a script that can restore spell in exchange for self damage.
Im looking to write a script that can restore spell in exchange for self damage.
0
Comments
Thanks.
TR