need script that combines all render layers

I need a script that can combine 4 render layers in a click. Ive tried using zcombine but to my knowledge, I can only mix 2…
much thanks.

But don’t exist a file format with layers like .psd with render layer directly, not?

Answer: OpenEXR multilayer does exactly that.