well i don't think you need the "Do" on the "While" loop

Code:

$settings = CreateObject("EmailChecker.Settings")
While Not $settings.getRandomQuestionPopup
Loop
$settings = ''