What are the script commands for controlling view distance etc.

Before someone posts that there isn't, there is. So don't bother posting if you're gonna say there isn't.

I saw someone using one to decrease almost everything under options->visual and it would be great for me when I enter highly populated cities etc. (Bum wouldn't show me the script commands though. Blah.)