Hover/Single click menu control

Hi everyone, I have a question.

I'm rly dumb in JS, mb my problem can be solved by completed script?

Usually we have next control scheme in menu - standart project without modifying core scripts
1. Open menu - RMB
2. Go to (ex.) Equipment - LMB to highlight and again LMB to enter equipment submenu
3. Making changes by LKM
4. End changes - RMB
5. Get to the equipment submenu - RMB
6. Get to main menu - RMB
7. Get back to game - RMB
SO MUCH RMB AND LMB

I need next control scheme
1. RMB (or other button) - Open Menu
2. Highlight and/or enter equipment submenu - by hovering mouse cursor
3. Making changes by LKM
4. Get back to game or back to previous menu - Esc

Sry for ur bleeding eyes by my worst English that u ever seen, but I hope that we can understand each other.

Original thread: https://forums.rpgmakerweb.com/threads/hover-single-click-menu-control.128469/