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