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

13
LINES

< > BotCompany Repo | #1007905 // Test loading comments & applying bot

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (7270L/48K/161K).

!7

p {
  O bot = hotwire(#1007900);
  L<Comment> comments = cast unstructure(loadPage("http://ai1.lol/wiki/structure/comments"));
  for (Comment c : comments) {
    S a = callStaticAnswerMethod(bot, c.text);
    if (nempty(a)) {
      print(c.text);
      print("  => " + a);
    }
  }
}

Author comment

Began life as a copy of #1007902

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: #1007905
Snippet name: Test loading comments & applying bot
Eternal ID of this version: #1007905/1
Text MD5: 42c21bae89660df34d8d4b50e19e9ed8
Transpilation MD5: 7b7eab3fb6e0ca7cf42ef8547e3fb1f4
Author: stefan
Category: javax / a.i.
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-04-16 00:14:33
Source code size: 300 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 525 / 592
Referenced in: #1007906 - Test loading concepts & applying bot