Is there such a thing as a 'Run at Save' section of a script?

I have a function I want called in my scene every time I save the scene. And potentially everytime the scene is opened as well. Is there anyway to fire a function on the save and open commands of a scene?

Assuming that you are saving your scene, just put a line of code to call the function when you finish saving it. This should be handled by a GameController and since that GameController should be the catalyst for loading things, you could also have it run a function there too.