!7 p { swing { setConsoleWidth(800); setConsoleHeight(600); centerConsole(); consoleFont(sansSerif(40)); wordWrapConsole(); consoleMaxChars(1000); } S last = ""; L possiblePhones = empBlast(); if (empty(possiblePhones)) { print("No activated phone found!"); ret; } S phoneIP = first(possiblePhones); print("Using phone: " + phoneIP); manualConsole(); repeat with sleep 1 { S s = sendToPublicCommBotSilently(phoneIP, forward("Recognizer.", "text")); s = substring(s, smartIndexOf(s, ":")+1); //S ss = dropPrefixTrim(last, s); S ss = joinLines(takeLast(12, javaTokC(s))); last = s; if (nempty(ss)) setConsoleText(ss); } }