undefined is no function, IF, ELSE

hi guys what i do bad with syntax ?


RPGmaker told me a undefined is no function ?


tank you

Code:
if ( $gameVariables.Value(118) >= 1 && $gameVariables.Value(110) == $gameVariables.Value(118) )  {
	$gameSwitches.setValue(31, true);
}
else  if ( $gameVariables.Value(116) == $gameVariables.Value(110) || $gameVariables.Value(116) == $gameVariables.Value(110) ) {
	$gameSwitches.setValue(31, true);
}
The uppercase "V" on $gameVariables.Values
The uppercase "V" on $gameVariables.Values

Ho.... lol tank you

Original thread: https://forums.rpgmakerweb.com/threads/undefined-is-no-function-if-else.62968/