For ET there was this script http://www.splashdamage.com/forums/show ... ker-script
It does check quite a few things, maybe you can get some ideas from it...
I certainly could use such a tool myself, its a pita to set that script up .. and I use windows.. lol.
Since that file is gone there, here a backup:
PS - nice forums