Custom/Locking skills? Gender specific Classes?

Hello! I hope I'm posting this in the right place.

I want to create custom skills that I can lock to specific classes and genders. For instance, I want to be able to give thieves a chance to steal an item off a player then be able to retrieve it once the thief is defeated. However, I can't figure out how to apply this.

I also wanted to give females specific classes they can access and males specific classes they can access, but I haven't figured that out either. I've been searching high and low for a tutorial or a script to make this possible but I can't figure it out.

Any help?
For your male/female classes question - are you defining what each character is, or are you allowing the player to define that?

I think you might find it very helpful to work through Andar's compilation of info for new users. Spending a bit of time on this now will give you a solid grounding, and will save you a huge amount of time and frustration in the future. For example, he gives links to two playable tutorials, one on Eventing and one on Switches and Variables. You will absolutely need these to make your game.
For your male/female classes question - are you defining what each character is, or are you allowing the player to define that?

I think you might find it very helpful to work through Andar's compilation of info for new users. Spending a bit of time on this now will give you a solid grounding, and will save you a huge amount of time and frustration in the future. For example, he gives links to two playable tutorials, one on Eventing and one on Switches and Variables. You will absolutely need these to make your game.

Hello again. I took a couple days watching tutorials, but I think I missed something.

I don't know what you mean by defining them. An example of what I want to do is have Character A, a female servant, be able to access only the maid class and not let her access the butler class.
What I meant was, are you setting the gender in the data base, or allowing the player to choose which gender a character is?
What I meant was, are you setting the gender in the data base, or allowing the player to choose which gender a character is?

Database
Then this might be the simplest way.
Create 2 states, one for female and one for male. No icon, no name, because you don't want the player to know that they are there. However, put something in the note box to remind you not to use that apparently blank slot for something else.
If you are using a Passive States plugin, give it to each actor as appropriate. This is by far the best option.
If you are not, it's a bit more complicated. Make sure that the 'Remove at the end of battle' box is unchecked. States are removed during an Inn event, so your Inn event will have to include reapplying the states.

Then when the player is choosing which classes to pick, have your choices inside a Conditional Branch which checks which state is applied, and then presents the appropriate list depending on which one it is.
Use Yanfly's class core (http://yanfly.moe/2015/11/27/yep-32-class-change-core/) and just pick the correct classes to unlock with each character.

No need to set Gender if that's all you're doing, really!

As to class-specific skills, the standard database system assigns skills by class. All you need to do is make unique skills and only give them to the relevant classes.

Original thread: https://forums.rpgmakerweb.com/threads/custom-locking-skills-gender-specific-classes.83293/