You do realize that you could have a single if .. end if statements instead of IF IF IF END IF, which you have chosen to do. This won't necessarily solve your problem, since we don't know what the error is. However it will be easier to read the code.

So the block below:
PHP Code:
Option Explicit
Dim xTrue
xFalse
xTrue 
1
xFalse 
1
If xTrue xFalse Then
    Wscript
.Echo "True < False"
Else
If 
xTrue xFalse Then
    Wscript
.Echo "True > False"
Else
If 
xTrue xFalse Then
    Wscript
.Echo "Equals"
Else
    
Wscript.Echo "Undefined"
End If
End If
End If 
can be cleaned up to look like
PHP Code:
Option Explicit
Dim xTrue
xFalse
xTrue 
1
xFalse 
1
If xTrue xFalse Then
    Wscript
.Echo "True < False"
ElseIf xTrue xFalse Then
    Wscript
.Echo "True > False"
ElseIf xTrue xFalse Then
    Wscript
.Echo "Equals"
Else
    
Wscript.Echo "Undefined"
End If