static ai_activeSpec_answerOnChat(S s) { S response = ""; { lock ai_activeSpecLock(); if (ai_hasTriple(s, "should be", "answered in the chat")) { L answers = ai_texts("$X", "answers", s); if (nempty(answers)) { ai_invalidateTriple(s, "should be", "answered in the chat"); response = s + "\n=> " + joinWithComma(answers)); } } } if (nempty(response) && postToStefansChat(response)) ai_postTriple(s, "was", "answered in the chat"); }