» Thu May 13, 2010 9:21 am
You could look through MWSFD or just download a mod that has scripted spells and look at the scripts for that.
I cannot remember the exact functions offhand, it is far too long since I have last used them. However it is as simple as using a global script to check for the spell being active (i.e. effecting the player) and, removing the spell and doing what you want.