loop
exitwhen true
call BJDebugMsg("hi")
call BJDebugMsg("hi")
endloop
//No text is displayed
loop
call BJDebugMsg("hi")
exitwhen true
call BJDebugMsg("hi")
endloop
//Hi is displayed once
loop
call BJDebugMsg("hi")
call BJDebugMsg("hi")
exitwhen true
endloop
//Hi is displayed twice