Seal skills by element?

Hi everyone I'm hoping someone can help me out.

In my game each character can control different elements and cannot use others. I want to be able to seal a whole group of skills by their element instead of creating a skill type for each element. Is there anyone who could script this for me?
Hm, I would suggest Himework's Custom Use Condition, create states, and then write each Custom Use formula so that they are active if the actor doesn't have the state.
For example "Seal Fire" might be state 20, and we could place this on every fire skill's notebox:

<use conditions>
formula: !a.state?(20)
</use conditions>

---

Alternatively, RPG Maker VX Ace should already have a feature where you can seal specific skills instead of the skill type.

Original thread: https://forums.rpgmakerweb.com/threads/seal-skills-by-element.74499/