!7 static long timeout = 60000; static int interval = 50; sS listName = "Katze Speech Recognition Log With Date"; sS outListName = "Katze | Things the phone should say"; p { doEvery(50, f update); } static int lastLength = -1; svoid update { S data = mL_onServer_rawListText_opt(listName); if (lastLength < 0) lastLength = l(data); if (l(data) > lastLength) { lastLength = l(data); S newStuff = substring(data, lastLength); L inputLines = nempties(map dropLeadingSquareBracketStuff(lines(newStuff))); print("Cat Thinking"); printLinesIndent(inputLines); new L out; for (S s : inputLines) out.add("Yo " + s); appendToMechList(outListName, out); } }