Need help with learn skill system.

Hello, i need help with increasing stats in learn section, i using visustella Learn skill system.

I recently used the rpg maker mv and used the skill learn system plugin from yep. When I needed to increase, for example, an attack by some stats, and I didn't want the skill to be learned and I could use it as many times as I wanted, I just typed in the notes for example:
<Learn Cost: 200 JP>.

<Learn Cost Eval>
user._paramPlus[2] += 3;
user.forgetSkill(204);
user.refresh();
</Learn Cost Eval>

<Max Mastery Level: 0>

But I switched to rpg maker mz and I would like to make this function here too, but I didn't find a way with vistustella plugin how I could do it, does anyone have any idea please?
The Learn Cost Eval is a really misleadingly-named tag. It has nothing to do with the cost, it just executes code after you've learned the skill.

If you understand that, the correlating notetag is right in the VisuStella instructions: JS On Learn Skill.
Okay, thank you. I'm still learning in js, do you know please the codes i write in below
</JS On Learn Skill> ? To increase actor luck by two, but can be repeatable and skill can't be learned?

I just asking, sorry to bother you and have a nice day.
The Learn Cost Eval is a really misleadingly-named tag. It has nothing to do with the cost, it just executes code after you've learned the skill.

If you understand that, the correlating notetag is right in the VisuStella instructions: JS On Learn Skill.
Most of the code for MV and MZ is the same. I don't see why the code would be any different - did you try it?

If yes, what isn't working?
1693687471721.png

I have this in notes, the stat is still learned and the attack didn't add up.
Most of the code for MV and MZ is the same. I don't see why the code would be any different - did you try it?

If yes, what isn't working?
Because you didn't close the notetag correctly. You need to put a forward slash before JS at the bottom.
My bad, thank you very much.
Because you didn't close the notetag correctly. You need to put a forward slash before JS at the bottom.

Original thread: https://forums.rpgmakerweb.com/threads/need-help-with-learn-skill-system.160850/