MV (Yanfly) Forcing attachment of Augments and/or Upgrades

I'd like to force attachments onto particular items but I'm not versed in JS. :hswt:

Links to Attachable Augments and Item Upgrades.
Maybe this will help.

LINK
Maybe this will help.

LINK
This is useful, but more-so what I meant was using the Script command to force it via an event rather than indirectly
gave it a quick look but didnt try it
if you want to remove all augments, try
Code:
ItemManager.removeAllAugments(item)
if you want to remove from a specific slot, try
Code:
ItemManager.removeAugmentFromSlot(item, slotId)
you can pass "item" by either pointing to the entry in the $dataWeapons/Armors array or by using an actor's equips()

Edit: read the opposite of what you wanted 🤣
Code:
ItemManager.installAugmentToSlot(item, augmentItem, slotId)
same as above, but add a reference for the augment item as well

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-forcing-attachment-of-augments-and-or-upgrades.175584/