I am glad of helping wink

I forgot to warn you that this last code is not problem free. Be aware of making a backup of level files before using it on your real game. It modifies $$M files on hard disk. I will modify it in order to restore its initial state after recompiling and add some security checks.

Salud!