I know i have to open the vmt file and remove something, but i am not sure where that file is loccated, i just used one that was in the hammer (difficult to explain)
if you use custom skybox (for example from gamebabnana) and you entered the name of the skybox well into the map properties (the name of the textures but without the last 2 character, only the common first part) then must edit all 6 .vmt, changing/replacing the first row to "UnlitGeneric", and with VTFedit (free program) must edit all 6 .vtf and check the 'Clamp T' and 'Clamp S' checkboxes, and save. After these, there shouldn't be any weird glitch. OF course must pack all 6+6 file to the .bsp when publishing.