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; }
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: | #1009024 |
Snippet name: | postToStefansChat - returns true if successful |
Eternal ID of this version: | #1009024/12 |
Text MD5: | da6d02d7fa8c767ad2dda45c7e68afb0 |
Author: | stefan |
Category: | javax / networking |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-01-02 16:32:24 |
Source code size: | 488 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 642 / 650 |
Version history: | 11 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1010823 - stefansChat_post - synonym of postToStefansChat #1011978 - postToSmartBotsChat - returns true if successful |