@raffle your question deserves its own thread. I believe you will get more responses for doing so than asking it here.
You're right :kaocry:I would delete my post here but it seems I can't.. Sorry! I'll make my own thread
.equips()", which gives you all of the actor's currently equipped gear. For each piece of gear in this array, I need to check if any of the equipment has a baseItemId of x..equips()", which gives you all of the actor's currently equipped gear. For each piece of gear in this array, I need to check if any of the equipment has a baseItemId of x.$gameParty.menuActor().equips()[0].baseItemId === x
// "x" should be the number which you are looking for
// this returns true or false and can be put in a "if condition"
if ($gameParty.menuActor().equips()[0].baseItemId === x) {execute stuff here if true};$gameTroop.aliveMembers().foreach(battler => battler.addState(X));$gameTroop.aliveMembers().foreach(battler => battler.addState(X));$gameTroop.aliveMembers().foreach(battler => battler.addState(32));$gameVariables._data[index]