I use this -> I stripped it down to just what you need.
Event OnEffectStart(Actor akTarget, Actor akCaster) ; Your going to want to change this based on how you want to apply the Event checks.
RegisterForAnimationEvent(akTarget, "SwimStart")
RegisterForAnimationEvent(akTarget, "SwimStop")
EndEvent
Event OnAnimationEvent(ObjectReference akSource, string asEventName)
Debug.Notification(asEventName) ; Do S**t, other then a Notification!
EndEvent