Auto Equip Weapons After Purchase

Hey guys, if I want to have it so when the player purchases a weapon, their current weapon is removed and the new one is automatically equipped. How do I do this, are there any plugins I can use? I'm using Alpha ABS by the way (newest version), I'm not sure if this would make a difference though.
There is this plugin by Mr. Trivel,

Open Shops

If you are looking to have open shops similar to Legend of Zelda, this might work out.

The documentation says it supports controlling switches based on whether or not an item is sold. You can then use those switches as the condition for auto run events that will change the player's gear to the newly purchased item.
There is this plugin by Mr. Trivel,

Open Shops

If you are looking to have open shops similar to Legend of Zelda, this might work out.

The documentation says it supports controlling switches based on whether or not an item is sold. You can then use those switches as the condition for auto run events that will change the player's gear to the newly purchased item.
My system isn’t really a shop. It’s more like “pay 1000 gold, receive upgraded weapon”. Once the player gets the new weapon, I want the old one to be removed and the new one to automatically be equipped.
What method are you using currently to sell the upgrades to the player?
What method are you using currently to sell the upgrades to the player?
It’s a simple event. If the player has 1000 or more gold, I use “change weapon” to add the new gun to the players inventory.
@mkelly527
Just below 'Change Weapon' there's the 'Change Equipment' event command. You can use that to change an actor's actively equipped gear. It will ask which actor, which equip type and what specific gear to equip to that slot.
@mkelly527
Just below 'Change Weapon' there's the 'Change Equipment' event command. You can use that to change an actor's actively equipped gear. It will ask which actor, which equip type and what specific gear to equip to that slot.
Great, I’ll try that. Thank you!
Why was this thread moved to rpg maker mz? It was in the correct place before (MV)
Does this method apply to rpg maker MV?
Necro-post notice: @herilegy1981

Original thread: https://forums.rpgmakerweb.com/threads/auto-equip-weapons-after-purchase.137969/