static long postToSmartBotsChat_user_lastPost = -60000; static bool postToSmartBotsChat_user_printStackTrace; static bool postToSmartBotsChat_user(S text) { if (empty(text)) false; if (postToSmartBotsChat_user_printStackTrace) printStackTrace(); text = shorten(text, stefansChat_messageLimit()); print("CHAT>> " + text); bool ok = eq("OK", loadPage("https://botcompany.de/" + psI(#1011975) + "/raw/msg" + htmlQuery(message := text, _pass := muricaPassword()))); postToSmartBotsChat_user_lastPost = sysNow(); ret ok; }