How can I write in a plugin the statement
if game variable X = 1 ?
if game variable X = 1 ?
var myVariable = 1;
if (myVariable == 1) {
console.log('OH HI MARK');
} else {
console.log('OH BAI MARK');
}
Original thread: https://forums.rpgmakerweb.com/threads/if-variable-1-statement.89156/