If I wanted to enter that particular IF statement, I would enter something like this:
Compare two values:
first value:
1*(platform.x < previousplatform.x - 200) + 1*(platform.x > previousplatform.x + 200) + 10*(platform.x < leftboundary) + 10*(platform.x > rightboundary)
greater than
Second Value: 20
THEN regenerate platform.x
ELSE create platform at platform.x, platform.y
If the expression in the parentheses is true, it's value will be 1 and if false it equals 0
Multiplied by the number in front, and then adding up the different values, both ands have to be there, so the value must be at least 20, and since you need one of the two 1s to be there, Over 20 will trigger this event as true.
It could be simplified to
(platform.x < previousplatform.x - 200) + (platform.x > previousplatform.x + 200) + 10*(platform.x < leftboundary) + 10*(platform.x > rightboundary)
But I showed a multiplier in front of each because it is so versatile.
for example as a button toggle:
Does that make sense?