SUB MAIN PRINT "HELLO" SPEAK "HELLO" WHILE (IsSpeaking()) SLEEP 100 END WHILE PRINT "GOODBYE" SPEAK "GOODBYE" END SUB