its very easy actually. each actor has a javascript function called actorId() which returns the number you see next to their name in the data base. the game uses it extensively for managing them.
also Yami does say that you kinda need some JS knowledge to work the Custom Requirements. this means you need to follow the JS syntax. this means "=" will set a value, and "==" will Compare the value. each line in the custom requirements needs to evalute to 'True' before the skill can be bought.
e.g
Code:
var foo = 2; //foo is now 2, we will use this as an example
foo == 31 // false, foo is not 31
foo == 2 //true, foo is indeed equal to 2
foo = 40; // foo is now 40, which will loosley still evaluate to true, we do not want this
so what you want is to Comapre ActorId to the one you know you want. should look something like this, I've tested this code and it does intact appear t work. this skill can only be learnt by actor 3.
Code:
<Buy Cost Gold: 10000>
<Buy Custom Require>
actor.actorId() == 3
</Buy Custom Require>
However, although only that character can buy it, it does still show up as disabled for the other characters. the other character cannot buy it at all but there is no way to hide this skill form other characters without modifying Yamis work