so i'm taking this code directly from the holy grail script calls and it says that its null somehow
nvm fixed it
if ($gameActors.actor(1).equips()[0]){
console.log('success');
}
console.log('success');
}
Original thread: https://forums.rpgmakerweb.com/threads/if-command-wont-work.86806/