static void ai_completeDBOfStefansChatLines() {
L<ChatMsg> msgs = stefansChat_readArchive();
for (ChatMsg msg : msgs) {
if (msg.nr == 0) { print("Skipping 0 id"); continue; }
S x = "Chat line " + msg.nr;
print("Have text for " + x + ": " + msg.text);
post(x, "is", quote(msg.text));
post(x, "is", "a chat line");
post(x, "was", msg.botMark ? "sent by bot" : "sent by human");
post(x, "was posted at time", dateWithSecondsGMT(msg.time));
}
}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: | 953 / 978 |
| Version history: | 1 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1013150 - ai_completeChatDB - slurp both chats to AI index, in full |