Many people have Z-fighting issues with flickering mountains in Skyrim.
One of the ways to reduce this is to put fNearDistance=25.0000 (default value is 15.0000) in Skyrim.ini under the [Display] section. This reduces the flicker by quite a lot (like 30-35 %), but it also causes clipping issues when you look extremely close to objects. The reason is becasue, I think, increasing the fNearDistance value moves the near clipping plane further away.
So the higher the number, the less the flicker, but also the more clipping-issues when really close to objects.
Request: A workaround for this could be to add a script that automatically changes fNearDistance to 15.0000 (which is the default value) when you're in interiors, because then it's much more likely that the player are right next to walls & objects and looking straight in them. In interiors we also don't need to have a higher fNearDistance number, because there is no flicker to reduce since you obviously can't see the mountains from interiors. The script would then automatically change the value back to a preferred one (the one you have added yourself in Skyrim.ini) when you're in exteriors.
So... all in all the script is attached to the fNearDistance .ini setting and automatically changes it. It needs to detect if the player is in interiors or exteriors. The script also needs to remember what value you originally have added in the Skyrim.ini yourself; if this is not possible, then the script could add its own .ini where you can place your preferred fNearDistance value when you're in exteriors.
Could someone make this script? I, and I'm sure many other people, would appreciate it a lot!

!
What, would you say, should the allowed max and min values for the setting be?