This is my first MAXScript ever! :) Its function is very straight forward; it allows you to quickly toggle between the standard grey and pitch black colour of all the viewports.
The black viewport makes it easier to see particles when working with Particle Flow and the standard grey is my prefered option when working with other stuff. So this is simply an easy way to toggle back and forth between workflow.