static long postToStefansChat_lastPost = -60000; static bool postToStefansChat_printStackTrace; static bool postToStefansChat(S text) { if (empty(text)) false; if (postToStefansChat_printStackTrace) printStackTrace(); text = shorten(text, stefansChat_messageLimit()); print("CHAT>> " + text); bool ok = eq("OK", loadPage("http://botcompany.de/" + psI(#1008998) + "/raw/msg?botmark=1&message=" + urlencode(text))); postToStefansChat_lastPost = sysNow(); ret ok; }