please note that that event command only works on skills that have already been learned (it cannot remove skills from the class list itself), and doesn't work with added skills (add skill trait), only with learned skills (learn skill by class level.
But shouldn't there be a duplicate skill? For example, if the players starts with Slash, then there will be two Slash skills once the Swordsman reaches Level 5.
Do you just want the player to be able to chose a starting skill and then there will be no other choices later?
And, like in your example, you are letting them choose a skill that is usually learned at a higher level for that class?
I ask because I would look at redesigning the skills for that class. And every time I wanted to give them a choice I would do so outside of the skills that are automatically learned for that class.
Or perhaps having a custom class with no skills and allow the player to choose each time from whatever I plan to offer them.
I guess it really depends on what you are trying to achieve and how much you are willing to change. Are you planning on keeping the default classes and skills the way they are or are you going to make your own classes and skills?
And for your most recent follow up question, that is easy enough to test on your own. I would do it to confirm, but I’m not at my computer right now. It should take less than 5 minutes to test.
Just create an event that gives your 1st level character Slash. Exit the event and verify that the character has the skill. Then, have another event that changes your party level to level 5 And see what happens. Have it show level up.
Does it say the character learns Slash even though they already know it?
Does it show twice in the skills for the character?
My suspicions are that it does not show twice, but I haven’t checked for myself.
If no one else confirms this, I will try to check when I can get to my computer.
I do hundreds of these quick, little tests just to see how things work and to try to better understand MZ.
Good luck!