1 | static void ai_completeDBOfStefansChatLines() {
|
2 | L<ChatMsg> msgs = stefansChat_readArchive(); |
3 | for (ChatMsg msg : msgs) {
|
4 | if (msg.nr == 0) { print("Skipping 0 id"); continue; }
|
5 | S x = "Chat line " + msg.nr; |
6 | print("Have text for " + x + ": " + msg.text);
|
7 | post(x, "is", quote(msg.text)); |
8 | post(x, "is", "a chat line"); |
9 | post(x, "was", msg.botMark ? "sent by bot" : "sent by human"); |
10 | post(x, "was posted at time", dateWithSecondsGMT(msg.time)); |
11 | } |
12 | } |
Began life as a copy of #1012258
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: | #1012860 |
| Snippet name: | ai_completeDBOfStefansChatLines |
| Eternal ID of this version: | #1012860/2 |
| Text MD5: | 08aedd058704801f9558a58db0ac4df7 |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-12-14 21:36:38 |
| Source code size: | 485 bytes / 12 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 661 / 751 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |