making stat checks?

Hey all! so, I'm trying to find a way to make a Fallout new vegas or even DND style checks.. IS there a way in RPGmaker to
refer to stats outside of combat.... something like...
-IF \n[001] AGI > 20
-get a prize
-Else
-you get NOTHING
-self switch
This is but a crude example, but does anyone know a way to do something like this? In particular I want to rename Luck into Charisma and offer speech checks in and out of combat. But just picking your beautiful brains about it. Thanks and have a good day!
control variable contains a lot of functions and can easily handle this.

from random numbers to simulate skill rolls to loading the stat values of any actor through game data.
If you want even more fancyness, there is also:
If you want even more fancyness, there is also:
Yes, Im currently trying to understand this plugin and haven't had much success.. It would be an asset for sure but Im going in circles and not getting anywhere on it...so i was considering how to do it manually.. do you have nay experience with frog's plugins? they look great, but make my game crash.
I have some experience with their race plugin and at least I know that I could add the default configuration of their skill plugin without it producing any crashes.
plugins are advanced material, and new users should be trying to do things by eventing until they have the basics.

that is what my answer above was about.

however if that was not enough - no one here knows your skill level, and you need to ask specific questions what about for example control variable you don't understand or what happens when you try to use it.
plugins are advanced material, and new users should be trying to do things by eventing until they have the basics.

that is what my answer above was about.

however if that was not enough - no one here knows your skill level, and you need to ask specific questions what about for example control variable you don't understand or what happens when you try to use it.
Andar, Your first response was good, I just needed some time to think before I replied! I took a look at the variables as per your suggestion AND I SEE IT NOW!!!! Thank you 🙂 , but while we're talking, One aspect I Do not understand about variables is the script call, I have no idea what that is for and how to use it.... But I also clicked on the links from your first response and saw stuff about it, so I'm going to read that soon! thank you all!
I Do not understand about variables is the script call
into that field you can enter any javascript code, which will then be calculated and the result stored into the variable.

this is mostly done to get information by script that is not available in the game data section, and should not be used unless you know exactly what commands to place there.

I've moved this thread to MV Support. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/making-stat-checks.151282/