# Conditional Branch+

#### EAP

##### Villager
Thanks.
Yep! So in that example you'd want to see if the player has more than 5 of items 1, 2, 3, and 4.
Thanks Tested myself before you replied but got my crafting quest system working with this script.

#### Alkaline

##### Veteran
Would I be able to compare one variable's value with other two?

I.e. If Variable A >= Variable B and Variable A >= Variable C
Show Text: "Your variable A is greater than both B and C"

#### JorgeMaker

##### Veteran
Would I be able to compare one variable's value with other two?

I.e. If Variable A >= Variable B and Variable A >= Variable C
Show Text: "Your variable A is greater than both B and C"

JavaScript:
``````Check.each_greater([A, \$gameVariables.value(B)], [A, \$gameVariables.value(C)]);
//or
(\$gameVariables.value(A) >= \$gameVariables.value(B) && \$gameVariables.value(A) >= \$gameVariables.value(C));``````

### Latest Profile Posts

hey pepe, why do you have a gun on your head? where is wojak?
Still alive! Totally did not finish in time for the Jam (boy that's late) but tl;dr of the last half a year is Work term -> Covid Lockdown -> Sick... again -> Full time Employment. Game stuff has been on hiatus but got a new graphics tablet so hopefully updates again soon. =D
Going on hiatus. Won't be back until mid October.
Just read the English lyrics for Despacito. Ramen aint innocent no more!
Well today was blown away with nothing to show for it. I made a new character to my game who I was going to have a protection mechanic where he protects my main character randomly unless it's a critical, and no matter what, to check if an attack received will be critical, means checking the apply method. This means rewriting the entire method and I refused to do that.