Adding an if statement to a notetag

Ok here what I want to do.  so i have Yanfly's Item Upgrade slots, but I want add an if statement in the notetag.  such as this:


◆If:Party has Impure Copper
  ◆If:Party has Repair Hammer 
    ◆If:Nether has learned Forge Metal
      ◆Change TP:Entire Party, - 1
      ◆Change Items:Impure Copper - 1
      ◆Comment:<Upgrade Weapon Type: 2>
      :       :<Upgrade Armor Type: 2, 3, 4, 7, 15>
      :       :<Upgrade Effect>
      :       :ATK: +1
      :       :</Upgrade Effect>
      ◆
    :End
    ◆
  :End
  ◆
:End


how do I go on doing that? (Note: I have little to no experience Javascript.)
Might help if you put the plugin name in the thread title, and a link to the plugin as well.


That looks like an event, not a note-tag.  Where exactly do you want to set this up - against a weapon or something in the database?  Or on an event when something happens?
Plug in is YEP.12 – Item Upgrade Slots


http://yanfly.moe/2015/10/16/yep-12-item-upgrade-slots/

Original thread: https://forums.rpgmakerweb.com/threads/adding-an-if-statement-to-a-notetag.71025/