I did not notice dayroll occuring while i was writing code on my script.
30 minutes after dayroll I finished writing and ran my new script to test it.
Running the script caused a quick login, where mafia skips doing any of the login stuff:
* dayroll resetting _ settings
* checking SVN
Then I noticed it was past dayroll I restarted mafia, at which point it reset all the _ settings and did the other things above.
but my state became incorrect due to changes that occurred after dayroll but that mafia attributed to happening yesterday.
Also, when trying to quite mafia (manually or automatically) it should not run the on exit script if you left mafia open through dayroll