Lol! Whoops. I was thinking you were saying 10,000 METERS, not 10,000 FEET altitude! I guess meters wouldn't really make sense, huh? Anyway, the idea of the script, is that it would adjust the viewdistance according to how high above the ground you are. When you are standing on the ground (0 meters altitude), having a viewdistance of 10,000 is going to lag most people's computers. But when you are 10,000 meters in the air, you need to be able to see 10,000 meters, or else you can't see the ground.
Anyway, I can think of a great way to script this, and I like the idea (not many air combat missions out there), and it would be good for the ECP. So I'll try it out and get back to you.