How to make a switch toggle a choice? (large choices script)

Hello, I hope I am putting this in the right place. I am using this large choices script by Tsukihime, but seeing as the original thread hasn't been updated since 2019 I didn't think it would be appropriate to comment there (I'm not super familiar with forum rules, I know commenting on dead threads is bad, but if it would have been better to ask there please let me know!)

Anyway, in that thread this question and answer were posed:
If switch 1 is ON then choice is active, else is not.

Tried with choice_option🙂condition, 1, "$game_switches[4] = true") doesnt seem to work.
(Tsukihime)
You would write

"$game_switches[4] == true"
Because one = is assignment and is evaluated to true since it is not nil or empty or false.

This is exactly what I need to do, but I'm not very familiar with scripts and I can't seem to figure out where this particular line would go. Basically I am creating a character who can give hints to the player. What I would idealy be able to do is when a certain "quest" is turned on, it flips a switch, and this NPC will give choices based on which switches are on, while not displaying them if the switch is off. This script just the way it is aaaaalmost does that, but I think what this commenter is describing is exactly what I need.

Can anyone tell where this would go in the script to change it to fit this need? Or do I need to put this ("$game_switches[4] == true") somewhere else entirely?

Thanks for any help!
That specifically refers to Choice Options. which is another script that can be used in combination with large choices.
The image on Hime's page shows how to use it.
Make a new event with your choices ( or in the message event you are showing or something) and use the script command and write out each condition on a new line in the script command.
hide_choice(1, "$game_actors[1].level < 5")
disable_choice(2, "$game_switches[1] == true")
That specifically refers to Choice Options. which is another script that can be used in combination with large choices.
The image on Hime's page shows how to use it.
Make a new event with your choices ( or in the message event you are showing or something) and use the script command and write out each condition on a new line in the script command.
hide_choice(1, "$game_actors[1].level < 5")
disable_choice(2, "$game_switches[1] == true")
Ahh, thank you so much! I felt like I missing something, I didn't realize there was a whole other script! Really appreciate getting such a quick response, I got my NPC doing exactly what I needed now! 🙂

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-a-switch-toggle-a-choice-large-choices-script.174648/