Give Item Battle Script

Hello! I'm not quite sure where this topic would go, so I hope I put it in the right place.

So I'm trying to find a script that would allow me to have an option to "Give" and enemy an item/gold. Similar to the items tab; but rather then having the player use the item it would be given to the enemy, and depending on the item used would have different results.

My plan is to have a couple enemies be able to be skipped if you give them the right item, such as a potion. Or an enemy that requires you to give them X amount of gold before you can pass.

I don't know anything about scripting so any help on this would be great! 😀
Moved to: RGSS3 Script Requests

Original thread: https://forums.rpgmakerweb.com/threads/give-item-battle-script.91739/