Download Jar. Libraryless. Click here for Pure Java version (2231L/14K).
1 | !7 |
2 | |
3 | static long timeout = 60000; |
4 | static int interval = 50; |
5 | sS listName = "Katze | Things the phone should say"; |
6 | |
7 | html { |
8 | if (!webAuthed(params)) { sleep(timeout); ret ""; } |
9 | |
10 | ret serveLongPoll(timeout, interval, func { |
11 | S things = fullTrim(mL_onServer_rawListText_opt(listName)); |
12 | if (empty(things)) null; |
13 | call(getBot(#1013927), 'export_setListText, listName, ""); |
14 | ret things; |
15 | }); |
16 | } |
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: | #1014866 |
Snippet name: | Cat Ear Long Poll Bot |
Eternal ID of this version: | #1014866/11 |
Text MD5: | 3e5899fea4160ec92b189e3b99dd504d |
Transpilation MD5: | b8c6e48f98381ec4db6b769fafb38e5c |
Author: | stefan |
Category: | javax / web / a.i. / android |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-05-12 17:48:04 |
Source code size: | 417 bytes / 16 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 602 / 2823 |
Version history: | 10 change(s) |
Referenced in: | [show references] |