Reuse of scripts

Reuse of scripts

Is there any way to re-use an event script. I find that the OnSuccess for Add and Edit is often the same, and I end up copying them back and forth every time I make a change. Is there a way to call the OnSuccess from the Add in the Edit script?