How do I add a weapon onto a actor through events?

So I wanted to make a battle tutorial where you get attacked by an enemy and another guy shows up and gives you a weapon to fight with. However, I don't know how to make the character forcibly equip the weapon during a battle. At this point in the game, you wouldn't have a weapon, so I don't need to worry about overwriting/de-equipping another weapon, I just need to equip the new one. I'm guessing there's a script or plugin for it, but I'm really bad at scripts. Is there a script or plugin that does this, or is this impossible?
In the event commands, there's a command named "Change Equipment" on the first page, bottom right. It does exactly what you're asking for, it changes the equipment on a actor to a specified one. I think you need to have the item in your inventory first though, so just add the item to your inventory and then use that event command.
Wow, I didn't expect it to be that easy! Thanks a lot! 🙂
don't forget to remove the weapon from inventory after the tutorial - as mentioned above the event command to equip requires the weapon in inventory, and it will remain there until removed.
So if you want the tutorial to end without the equipment used in the tutorial, you need to remove it with the event commands.

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-add-a-weapon-onto-a-actor-through-events.105038/