1 | static long postToStefansChat_user_lastPost = -60000; |
2 | static bool postToStefansChat_user_printStackTrace; |
3 | |
4 | static bool postToStefansChat_user(S text) { |
5 | if (empty(text)) false; |
6 | if (postToStefansChat_user_printStackTrace) printStackTrace(); |
7 | text = shorten(text, stefansChat_messageLimit()); |
8 | print("CHAT>> " + text); |
9 | bool ok = eq("OK", loadPage("https://botcompany.de/" + psI(#1008998) + "/raw/msg" + htmlQuery(message := text, _pass := muricaPassword()))); |
10 | postToStefansChat_user_lastPost = sysNow(); |
11 | ret ok; |
12 | } |
Began life as a copy of #1013480
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1013508 |
Snippet name: | postToStefansChat_user - returns true if successful |
Eternal ID of this version: | #1013508/1 |
Text MD5: | 93065783d47ba4aaf8a0942d57b1a993 |
Author: | stefan |
Category: | javax / networking |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-01-08 01:02:29 |
Source code size: | 533 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 329 / 382 |
Referenced in: | [show references] |