Finally, here's my script:
Scriptname _BKSM_ShieldBlockEffect extends activemagiceffectString AnimationEnter = "blockStartOut"String AnimationExit = "blockStop"SPELL Property AbilityAdded AutoSPELL Property AbilityAdded2 AutoEvent OnAnimationEvent(ObjectReference akSource, string asEventName)if (asEventName == AnimationEnter) AbilityAdded.Cast(akSource , akSource ) AbilityAdded2.Cast(akSource , akSource )endifif (asEventName == AnimationExit) (akSource as Actor).DispelSpell(AbilityAdded) akSource.InterruptCast()endifEndEventEvent OnEffectStart(Actor akTarget, Actor akCaster)RegisterForAnimationEvent(akTarget, AnimationEnter)RegisterForAnimationEvent(akTarget, AnimationExit)EndEventEvent OnEffectFinish(Actor akTarget, Actor akCaster)UnregisterForAnimationEvent(akTarget, AnimationEnter)UnregisterForAnimationEvent(akTarget, AnimationExit)EndEvent
It works for one spell, but it won't do two. It's a problem, because this is supposed to be an enchantment and when someone dual enchants, only one enchantment will work.
Any help would be appreciated.