How to remove menu options?

Hey hey! So I recently played a game that had a pause menu screen that only had two options. Does this require a script to do something like this?

menu.PNG
It requires you to comment out a 3 lines found in the default Window_MenuCommand script.
It requires you to comment out a 3 lines found in the default Window_MenuCommand script.
Forgive me, but what do you mean 'comment out'? Does that mean delete?
# <-- this symbol is what I mean with commenting out any line...
EDITED.
#this is what I mean with commenting out any line...
Is there supposed to be a picture? I'm not understanding...
Hey hey! So I recently played a game that had a pause menu screen that only had two options. Does this require a script to do something like this?

View attachment 290806
You could use something like Mjshi Non-Combat Menu v1.04a
Or as Kyonides is saying comment out the extra pieces to remove the commands you don't want.
1704508684687.png
You could use something like Mjshi Non-Combat Menu v1.04a
Or as Kyonides is saying comment out the extra pieces to remove the commands you don't want.
View attachment 290813
So, is commenting out basically canceling actions in the script? Sorry, I'm not too bright when it comes to scripting...
Code is always supposed to be executed EXCEPT for those times where there are any comments included. Usually, they're used as explanations on code behavior and expectations. There are cases when some code has to be ignored. To comment out a line is to turn anything into some useless comment, so to say.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-remove-menu-options.164499/