If you use WED for your levels the you can use a hollow cube ([Add Hollow Cube]) and assign a texture (with the property "sky").

If you want to create a sky by script you can use:

c-script: a SKY-Entity (search documention for "SKY")
lite-c: a View-Entity with flag "sky" (search documention for "sky definition")

You have to take care of the shape of the sky (cube/dome/..) and the used texture

PS: of cause you can also use a model to create a sky (with normals facing inside the mode...)