Grey out the status option in the menu

It's all in the title.

I reprogrammed the status screen to allow the player to increase his stats, and I would like the player not to have access to it before getting the tutorial.

I would normally use the yanfly menu engine which allows to customize the access to the options, but I already use another script for my menu. https://forums.rpgmakerweb.com/index.php?threads/dragon-quest-style-scripts-menu.15572/

How can I grey out the status option?
grey out the status option?
It depends a bit on how you want to control it.
My opinion is the easier way is to use a switch.
So in the script where it says
add_command(Vocab::status, :status, main_commands_enabled)
Change the main_commands_enabled to something like
$game_switches[1]

When the switch is off the command is disabled.
Moved to: RGSS3 Script Requests
It works, thank you ^^

Original thread: https://forums.rpgmakerweb.com/threads/grey-out-the-status-option-in-the-menu.135564/