Turning This Into Common Event?

So I'm trying to adapt my learn cost eval into a common event so I can use it in @SomeFire's skill tree system.
<Learn Cost Eval> user._paramPlus[0] += 5; user.gainHp(5); user.forgetSkill(293); user.refresh(); </Learn Cost Eval>

How would I go about this? I've tried simply copy-pasting the contents (the lines w/ "user") into the common event as a script, which obviously didn't work (didn't really expect it to lol). What's the correct way to do this?
You can use the following to collect and use the id of the skill user :

Code:
◆Comment:// Determine if Party is in Battle
◆If:Script:$gameParty.inBattle()
  ◆Comment:// Party in Battle; store 'BattleManager._targetId' into variable
  ◆Control Variables:#0049 ActorID = BattleManager._action._subjectActorId + 1
  ◆
:Else
  ◆Comment:// Party is on Map; store '$gameParty._targetActorId' into variable
  ◆Control Variables:#0049 ActorID = $gameParty._targetActorId
  ◆
:End
◆Comment:// Change HP (+5)
◆Change HP:{ActorID}, + 5
◆Comment:// Forget Skill
◆Change Skill:{ActorID}, - Test Skill
Damn, it looked promising too...unfortunately it didn't work. It's probably not selecting the actor for some reason. Either that or the common event isn't running at all. I think the contents of the event are correct though. Must be a plugin issue.
Hmm, I suppose I should have checked how the common event is being called. That should work if called from the Common Event section of a Skill. Perhaps the Skill Tree System is different.
Ok, I got the event to work, the contents are just fine and I figured out how to invoke it. The only issue now is that it's not being unlearned. This is a stat allocation type skill if it wasn't obvious heh. This current issue definitely lies with the plugin. I gotta find the plugin command to unlearn a node in the skill tree basically. Thx for the help on the event itself though!

Original thread: https://forums.rpgmakerweb.com/threads/turning-this-into-common-event.124608/