MV Grey out "Skills" if a switch is ON

I'm using YEP_MainMenuManager and I'd like to grey out the Skill section of the main menu if a switch is ON.

Right now it looks like this:

this.areMainCommandsEnabled()

How can I edit it so it does what I'd like it to do?
in plugin parameter.
in the section for skill, enable put
!$gameSwitches.value(X)
replace X with the ID of the switch.
now when switch is ON, skill in the main menu will be greyed out.

got this from looking at the tonberry shop tip and tricks link on yanfly's plugin page.
i tested it 1st to make sure it worked right.

edit: if you put that in the show line instead it will remove skill from the main menu instead of just greying it out while the switch is on.

Original thread: https://forums.rpgmakerweb.com/threads/grey-out-skills-if-a-switch-is-on.132069/