Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

12
LINES

< > BotCompany Repo | #1012258 // ai_completeDBOfSmartBotsChatLines

JavaX fragment (include)

1  
static void ai_completeDBOfSmartBotsChatLines() {
2  
  L<ChatMsg> msgs = smartBotsChat_readArchive();
3  
  for (ChatMsg msg : msgs) {
4  
    if (msg.nr == 0) { print("Skipping 0 id"); continue; }
5  
    S x = "Smart Bot's Chat line " + msg.nr;
6  
    print("Have text for " + x + ": " + msg.text);
7  
    post(x, "is", quote(msg.text));
8  
    post(x, "is", "a Smart Bot's 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  
}

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: #1012258
Snippet name: ai_completeDBOfSmartBotsChatLines
Eternal ID of this version: #1012258/5
Text MD5: a3575b9776a039c72dd0f307d20fd63a
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:20
Source code size: 513 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 463 / 483
Version history: 4 change(s)
Referenced in: [show references]