Hime's Choice Options - help with syntax

I'm using this script - https://himeworks.com/redirect.php?type=script&name=Choice_Options
to hide choice options with script calls, but I'm having trouble figuring out the syntax for scenarios such as the following:
For example, saying the script call is hide_choice(1, condition)
how would you write it so that the condition is if switch 1 is off or switch 2 is on or switch 3 is on?
To get access to Switch information by code, you need to use:
Code:
$game_switches[x]
Where x is the Switch's ID you are trying to read.

To chain multiple conditions with "AND" or "OR" you must use the && operator for "AND" and || for "OR".

So, to achieve what you expect, you should write something like this:
Code:
 hide_choice(1, "$game_switches[1] == false || $game_switches[2] == true || $game_switches[3] == true")

Spoiler
By the way. Many questions similar to this one were asked already in rmweb. I would recommend you to perform a quick search before posting. It's much faster.
I found this post here which has the answer for you question just by searching "rpg maker vxa get switch by code" on google.
I know this isn't a website like stackoverflow where people over complain about duplicates, but I think it is always a good practice to search before posting.
Alright, I tried it out but I'm either doing something wrong or it's not having the effect I want it to.
I rewrote the script to something like this because of a cut off problem:

a = "$game_switches[1] == true"
b = "$game_switches[2] == true"
hide_choice(1, a || b)

but what's happening is that only the first condition ("a" in this case) is being read, and the choice isn't being hidden when switch 2 is on.
When I swap it to b || a , the choice isn't being hidden when switch 1 is on.
I think the problem here is that when you say:
Code:
a = "$game_switches[1] == true"
b = "$game_switches[2] == true"
These statements will always be true, because you put them inside quotes, so they are now actually Strings.
When you compare a || b, you are actually comparing if a == true || b == true, and both are true since Strings always return true when converted to Boolean.
What I want to say is that you must remove the quotes from these statements.

The quotes are required inside the method call, like this
Code:
hide_choice(1, "a || b")

However, I am pretty sure this isn't going to work either, since in your case a or b are just local variables.
Sadly, the most straight forward solution I can think of here is to write:
Code:
hide_choice(1, "$game_switches[1] || $game_switches[2]")
Oh, I see. I've been fiddling around with my conditional branches and I think I have a way to do what I want without using the or condition. But thanks for your help! : )

Original thread: https://forums.rpgmakerweb.com/threads/himes-choice-options-help-with-syntax.111467/