I know, variables are confusing at the beginning.
But don't worry, you'll understand them soon.
Now, how many switches do you have? Did you try to make the example from the Help Files with the 3 switches, or did you add more switches?
EDIT
Ooop, sorry, just realized you have written in the title about 4 switches
I'll try to make an example for you, and explain it. Give me some time, I'm currently busy with other things, but I'll do it within the next 12 hours.
Check back here.
EDIT2
It was a very busy day for me, so I'm just getting back to your question.
I have a question: Does the hotspot appearance change when the switch is clicked?
For switches that don't change appearance when clicked:
See screenshot "Switches" in my next post.
Create 3 variables: Switch1, Switch2, Switch3
Create a hotspot over each switch.
Here an example for the combination 3, 1, 2, 4.
Go to the hotspot properties of Switch3, change the mouse cursor, add a sound if you like (to announce the player that the button has been clicked). Go to the Variables Tab, and change it (see image "Switch3").
Since this is the first switch that the player should click, the other variables must become 0. So if a player has clicked on Switch1 before (and the variable Switch1 was changed to 1) it must be undone again.
Then go to Switch1, change cursor and sound, and change the variables (see image "Switch1).
Since this is the second switch that the player should click, the variable of the switch that the player has to click later, must become 0. So if a player has clicked on Switch2 before (and the variable Switch2 was changed to 1) it must be undone again.
Now comes Switch2, change cursor and sound, and change the variables (see image "Switch2).
Then go to Switch4, change cursor and sound, and change the variables (see image "Switch4a"). This is for the case that the player has not clicked the previous switches in the correct order, and thus we have to set back all the variables to 0.
Then create another hotspot on Switch4, on top of the other one, change cursor and sound, and add also what should happen if the player has clicked the previous switches in the correct order (e.g. go to another frame). Then change the variables (see image "Switch4b").