You could also use:
If [$$w = 500 and $$x = 200 and $$y = 100 and $$z = 50]
But I don't know if one will execute more quickly than another. I'd think that combining the evaluation in a single expression will execute more quickly, but I could easily be wrong here.
You could always run some tests with your own data or in a sample file and see what results you get...
I figured I would have to buid a test to find out the answer. (I am all ready working on it.) I was kind of hoping someone here would have all ready run into this and know the answer up front. I will post the answer here for the curious.
I am a little supprised with how drastic the results are. I wrote a test case for this that timed it either way over 10000 iterations of a loop. Creating a long if statement with multiple and and ors is over twice as fast as multiple script steps. 4 seconds vs 8 seconds.
It seems to me I read some discussion long ago about the calculation engine being faster than the scripting engine, which would coincide with your results.