Hello Oskar, I'm the debian maintainer of mc and there is a small problem with your script:
If the zip file is encrypted with a password mc hangs if you try to view a file. It's not possible to use File Descriptors here to redirect the password question into a dialog so it would be good idea to check if the file is encrypted or not. (Even if the zip file is encrypted it's possible to view the structure in there.. only viewing, deleting and modifying files doesn't work. (for details please have a look on [1]. Michelle Konzack suggests in her last post a possible way how to fix this issue. Greetings Winnie
signature.asc
Description: This is a digitally signed message part.

