I believe the is no way to change the skybox with a script, only by changing the level itself.
eg. you would have two levels exactly the same, except for the skybox, far from an ideal workaround but the only one I can think of.
but you can change the /brightnesslight/fog/many other settings with Lua