If Else nested CONDITION in vbscript Below is the syntax for CREATING If Else loop in vbscript If(condtion_expression) Then STATEMENT 1 Statement n ElseIf (condtion_expression) Then Statement 1 Statement n ElseIf (condtion_expression) Then Statement 1 Statement n Else Statement 1 Statement n End If