MV Plugin to allow an item to use a skill?

Hi! It's me again. Does anyone know of a plugin that would allow an item to use a skill? Not a skill that consumes an item, but an item that, when used, uses a skill, showing the battle message and doing its effects. If it's just not possible or something, I could probably rework my idea for this game to work with Yanfly's Skill Costs Item plugin and just have skills that cost items, but I'd much prefer to be able to just use an item to use a skill.
(I'm hoping to make an item that uses a skill that's unique to certain classes but is usable by anybody, even the classes that can actually use the original skill.)
I haven't tried it but off the top of my head I would say make the item run a common event which will force action the skill you want.
I would suggest the same thing.
I would also suggest the same thing.
I would suggest the same thing.
The problem I've run into with this is that with a common event you have to choose a specific actor to use the skill, you can't seem to just have whoever uses the item use the skill.
you can't seem to just have whoever uses the item use the skill.

I think that there is a way of doing this, as I use the following method to identify which actor is using an item. It may need a bit more coding in the Common Event for you to use this method for a skill, but perhaps someone familiar with Javascript will be able to supply the missing piece of the jigsaw.

The example I'm about to give is for VXAce, so uses Ruby. However, it should be straightforward to convert the tiny bit of Ruby into Javascript. If you don't know how to do this, I'm sure someone will tell you if you ask.

In your item, change the Damage formula to read:
Code:
$game_variables[72] = b.id; 0

adjusting the [72] to the id of the variable you want to use. I think the JS equivalent of $game_variables is $gameVariables, but no idea if b.id works in JS.

In your Common Event use this variable to identify the actor you want.

Original thread: https://forums.rpgmakerweb.com/threads/plugin-to-allow-an-item-to-use-a-skill.138148/