Yami skill shop , need some help !

Hi!!

I'm trying to make a skill shop with skills that are class specific, though after spending a huge amount of time trying to find out how to do so, nothing doing.
I used "class = x", "class_id = x" etc etc trying to figure out what was the right string to use. 

Can someone help me? Thanks in advance! 
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.


Can you please provide a link to the script, along with a screen print of what you've done to set it up (where you used "class = x", "class_id = x" ..., WHERE did you use that? In a script? In the skill?)
don't remember much about the script, but maybe this will work:

Code:
<buy custom require>[1, 2, 3].include?(class_id)</buy custom require>
Hi!

I tried but seems like it doesn't work.

Here is what I did in the "buy custom require" part for my test skill. 

<buy custom require>

level >= 2

!break

[1, 2, 3].include?(class_id) == 016

</buy custom require>

 

Is it correct or did I misunderstand something? 

And here is the script : 

https://dl.dropboxusercontent.com/u/38072264/Symphony/Skill%20Shop.txt

Thanks very much for your help! 😀
<buy custom require>


level >= 2


!break


[ClassID1, ClassID2].include?(class_id)


</buy custom require>

Change ClassID1, ClassID2 to your class ID (like 16, 17, 18, 20)
Seems like it's working perfectly! Thanks very much! 
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/yami-skill-shop-need-some-help.20381/