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