How to get Skill description in script

Hey guys,
On my custom battle system, I have a skill's Id, and want to acces the description.
I want to show the skill description on a custom window.

I have no idea what class to access for it. I'm just learning things and starting to get the ropes. Can anyone Point me how to use $dataSkills[id]?
During your playtest, press F8 to open the console.
Then type $dataSkills[ID] where ID is the number of the skill you want to look at (and press enter).

What you will see is all the object data about that skill, then scroll down until you see the property that you want to use.

There is an excellent tutorial about console usage in the RPG MV School thread created by Poryg (the link is also in his signature). I think that tutorial will help a lot for this kind of thing.
During your playtest, press F8 to open the console.
Then type $dataSkills[ID] where ID is the number of the skill you want to look at (and press enter).

What you will see is all the object data about that skill, then scroll down until you see the property that you want to use.

There is an excellent tutorial about console usage in the RPG MV School thread created by Poryg (the link is also in his signature). I think that tutorial will help a lot for this kind of thing.

I have solved my issue studying the code, but Thank you vm for the tip!

Code:
           for(i = 0; i < 3; i++){
             
       
               do{
                     pick=Math.floor(Math.random()* filteredDeck.length);
                   val= filteredDeck[pick];
                       /*console.log("igual");*/
                         b=filteredDeck[pick];
               }  while(val=0 || drawS.indexOf(val)>-1);
             
     
               drawS.push(b);
             
               drawSkilldescr.push($dataSkills[b].description);
                   
       }

This is how I fixed, I grab the id of the skill on the quipped skill array, and then, with that id in hands I get the skills description in database. Then I passsed it to my game variables:
Code:
 $gameVariables.setValue(4,drawS[0]);
       $gameVariables.setValue(5,drawS[1]);
       $gameVariables.setValue(6,drawS[2]);
         $gameVariables.setValue(8,drawSkilldescr[0]);
         $gameVariables.setValue(9,drawSkilldescr[1]);
         $gameVariables.setValue(10,drawSkilldescr[2]);
Good to hear you figured it out. If the issue is resolved, you can 'report' the first post and ask for the thread to be closed, a moderator will come around and close it.

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/how-to-get-skill-description-in-script.89876/