if in vbscript code example Example: how to make a if statement with vbs Click to copyIf loggedIn = true Then document.write("Welcome") End If