How to use Switches, If then else statements and Loops?

Hi reader
I am new to rpg maker MZ but i have rpg maker 2000 when i was little. With the new platform I don't know how to get switches, if then else statements and loops to work

I am currently thinking of making two games

1. for my pastor and my moms pastor displaying a normal Christian life on a website with either youtube or screencastomatic (I haven't asked them yet)
2. showing the plan i want for my life to my gaming professor next semester with 12 scenes from my life and that i want out of life in the future

I tried using loops, switches and if then else statements but they don't function at all. Have no idea what im doing incorrectly
you can start using the inbuilt tutorial how to use them or find
some tutorials (or from MV as there are many).

as MV is almost equal to MZ, most tutorials applies to them.

loops needs a break, conditional branches can be stopped by
switches/selfswitches or variables (even there are some methodes,
even using small scriptcalls if you go advanced or complex).

as the detail you give is a bit to low on what you exactly want to accomplish.
finding some tutorial and built in learn you the engine and basic stuff.
You posted this in MZ Support, but your profile says you primarily use MV.

Regardless, here is a link to a series of tutorials that I think will have some videos to help you.

I went through this whole series when I was first starting, recreating everything the creator did, and I learned a lot.

I strongly recommend watching as many beginner tutorials as you can to really get a solid foundation. Then practice and experiment.

I hope this helps.

A Switch is a true/false or yes/no value and should be used as such.
Loops -> loop through all the events inside of the loop, a parallel event is a looping event but be careful how those are used, breaks and jump labels are the best way to get out of loops.
If/Else code can be selected from Tab One from the event menu under Flow Control. You can use if else for checking between values.

I have a tutorial here that goes over a few simple things.
Welcome!
I tried using loops, switches and if then else statements but they don't function at all.
That doesn't really mean much for anyone trying to help you. Does that mean the entire event doesn't run? The portion you expected to be different because of, say, a switch, does something else instead? Your computer exploded? 😉

If you post screenshots of an event and explain what you want it to do and what it's doing instead, we can offer some concrete help.

Until then, it's just what Zombie and heros said - there are lots of videos on YouTube if you type in "RPG Maker tutorial switches," or events, or variables, etc.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-use-switches-if-then-else-statements-and-loops.153700/