Ok. That helps.

 Code:
Do
	$LoopCount = $LoopCount + 1
	$NoOutput = MessageBox($LoopCount,"")
	If $LoopCount = 5
		$ExitLoop = True
	EndIf
Until $ExitLoop
$NoOutput = MessageBox("Final Loop Count: " + $LoopCount,"")

The only problem I can see is the loop doesn't exit until the end of the current iteration. There may be more code after the EndIf that I wouldn't want executed. Oh well, this is better than nothing.

To avoid the console entirely, what are my options? Send all output to dummy variables and use wkix32.exe? Use SETCONSOLE("HIDE") at the top of the script? Is there a "best practice"?