Need to call an event Before menu opens

Hey all.
I'm looking for a way to call a common event before opening the menu.

https://forums.rpgmakerweb.com/index.php?threads/mz-call-a-common-event-before-acessing-menu.147873/

I tried following this thread, and it worked as they described, but its not what I'm looking for. The event always runs after the menu has been opened (when pressing escape to exit the menu, the event runs). I tried the plugin "ct_bolt" linked at the bottom of the thread, same result. I even tried editing the 'rmmz_scenes.js' like described at the beginning of the thread, but it gave me the same result.

Maybe this is something I'm overlooking, but all three solutions I've tried lead to the same result. I don't know much JavaScript, and I'm not working with an insane amount of plugins, so nothing should conflict.

I appreciate your time; Any help would be appreciated. Cheers!
Disable menu access and then put a parallel common event running that has if button esc is triggered, common event, open menu LOL. Then control menu access with the parallel CE switch.
Youre saying you followed this post and the command ran after the menu closed and not before the menu opened? That shouldnt happen as the command is clearly before. You could try a Wait: 5 frames or so between the initial command and the open menu command.

Post in thread '[MZ]Call a common event before acessing menu' https://forums.rpgmakerweb.com/inde...vent-before-acessing-menu.147873/post-1276013
Disable menu access and then put a parallel common event running that has if button esc is triggered, common event, open menu LOL. Then control menu access with the parallel CE switch.
This would probably work, but as It stand now I'm gonna use this as a final option. I have other button calls for 'escape' on other events, so having this may collide with those. I will edit this post with the results if I end up trying this. Thank you for the quick response.

Youre saying you followed this post and the command ran after the menu closed and not before the menu opened? That shouldnt happen as the command is clearly before. You could try a Wait: 5 frames or so between the initial command and the open menu command.

Post in thread '[MZ]Call a common event before acessing menu' https://forums.rpgmakerweb.com/inde...vent-before-acessing-menu.147873/post-1276013
After looking at it for the fourth time I found what went wrong. I didn't enable the overwrite in the plugin settings. It works as expected now.

I apologize for wasting your guys time, I truly believed things weren't working correctly.

Thank you all for the quick replies!

Original thread: https://forums.rpgmakerweb.com/threads/need-to-call-an-event-before-menu-opens.177645/