Random Event Variable Help?

So I know this has been posted before but the things I've found are not quite what I'm looking for.
So basically I'm making an event where you steal from a chest (I got that part down) and if you select yes, you have a 50/50 chance of getting caught by the manager. If you get caught, you go to jail where you have to convince the guard or something.
PS: I'm a noob so please make it simple/step by step
Thanks! ^_^
basically you use a control variable command to get a random number, let's say you use it to get a random number between 1 and 100.
Then you use a conditional branch to check which number you now have inside that variable. If that number is 50 or less, do the one thing - if not do the else branch.

If you have problems with variables or events on that level, I strongly suggest you follow the link to the starting point in my signature and work through some of the tutorials listed there, at minimum the variables guide and one or the other eventing tutorial.

Original thread: https://forums.rpgmakerweb.com/threads/random-event-variable-help.76571/