Skill Restrictions. How to make them work?

Here is what I am trying to do.

Base Skill:  Stealth

Other Skills:

Backstab,  stun. and so on

I want backstab to be only usable when the state stealth has been applied. 

I've tried using Yanfly Skill Restriction script but the skill backstab still is usable at any time.  Here

is the note tag that I am using.

<eval_usable self.state?(28)>
post a link to yanfly's script please... AFAIK though, that tag you used is wrong...
The easiest way to do this is to just set the skill as useable when the state is applied. I do the exact same thing by having stealth skills be their own skill type that the player doesn't have access to by default. That way he/she can learn the skills but since they can't use the skilltype unless the state is applied they only have access to them during the state.
Though there are quite a number of ways that that method cannot be used... Like he might want it to be always visible, or he needs it to be same type as the other skills etc... but assuming he doesn't need any of these things, that will be an easy way to do it... 🙂
The easiest way to do this is to just set the skill as useable when the state is applied. I do the exact same thing by having stealth skills be their own skill type that the player doesn't have access to by default. That way he/she can learn the skills but since they can't use the skilltype unless the state is applied they only have access to them during the state.
How would you go about doing that?

http://yanflychannel.wordpress.com/rmvxa/gameplay-scripts/skill-restrictions/ 

Is the link to the skill.
you should really read the instructions... it's all written there... there's no such thing there as <usable_eval>...

you would be using this I think:

Code:
<restrict eval>  !a.state?(28)</restrict eval>
or
Code:
<restrict eval>  !self.state?(28)</restrict eval>
Thank you!  I actually got that tag from another post on the forum.  

Original thread: https://forums.rpgmakerweb.com/threads/skill-restrictions-how-to-make-them-work.22819/