a variable is 100000x mroe useful then switches.
Ok (my famous example)
guy tell's you to kill 3 ghosts and come back when your done to get prize...
after each ghost battle you can flip a switch...but hey that would take three switches!
so when you go back to the guy you would need three conditional branches checking for three switches!!! what a pain...
with varibles...
after each ghost battle just use event command change variable, Name it "Ghost" and after each battle make it go up 1.
so now when you go back to the guy you need only 1 coditional branch checking ir variable ghost = 3.