hide_choice(3, "$gameSwitches.value(3) === false")
but change the switch into a skill or an item.
I think it might help you if you edited your title to something which gives an idea of what the problem is. People look at the title before opening a thread to see if it's something that they can/are interested in answering. A generic title like that tends to have fewer responses.
First step would be to explain exactly what you're trying to achieve, and where you're calling this from - an event, a troop page, are you writing a script/plugin?
Second would be to state if you're using an existing script or a plugin, and which one (and give a link to its forum page), because I'm not aware of any hide_choice command in the engine by default.
And then confirm that you're actually using MV, because your hide_choice function name is in VX/Ace format, but your $gameSwitches reference is in MV format.