!7 static double sleepTime = 30; // Check every 30 seconds static int factor = 1; // Speak every visitors static int n = -1; p-repeat with sleep sleepTime { int cookies = ai1_cookiesToday_int(); printWithTime("Visitors: " + cookies); renameConsole(n(cookies, "visitors") + " - " + programTitle()); if (n < 0 || cookies/factor > n/factor) { n = cookies; sayInEnglish("You have " + n(n, "visitors")); } }