Limit skills?

Any way to limit how many skills a actor can have?

Ive thought of some logic as to how I would limit this:

Actor Levels Up
If learn skill upon level up: Learn It
CHECK to see If actor has more then 9 skills
If more than 9 list each skill as a choice:
Max of 10 choices displayed
Pick a skill to forget by selecting a choice
Forget_Skill runs
End

Else do nothing if less than or equal to 9 skills

My problem with this is that I've looked around and read that you cant really script out multiple choices, so I was wondering if anyone knew of a better way to do this.
You'd probably be making a new scene that calls forth the skill list, then let's you choose 1, then replace the chosen skill with the new one
I've actually devised an evented way for this to work using a combination of a multitude of scripts. Took me a while to finally get it to work though, lot of logic processing :/

damn i got it to semi work :/ now i have to troubleshoot it D:<

Original thread: https://forums.rpgmakerweb.com/threads/limit-skills.25170/