Script variable shortcut

Hey people,

Ive been wondering if it is possible to instead of having a conditional branch script variable be excessively replicated like this:
$gameVariables.value(11) === 2 || $gameVariables.value(11) === 4 || $gameVariables.value(11) === 9
If it could also be shorter like for example have it like these:
$gameVariables.value(11) === 2,4,9
$gameVariables.value(11) === 2 || 4 || 9
Or something else which would get rid of excessive text.
In case its not clear, i want to basically only write down one variable and have it respond to multiple random values. instead of having to repeat the same variable over and over, and get a long and hard to trace script.

Thanks in advance 🙂
Hi there, next time, please just report your thread and we'll move it to the correct place. Thanks. Closing.

Original thread: https://forums.rpgmakerweb.com/threads/script-variable-shortcut.81378/