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

22
LINES

< > BotCompany Repo | #1002980 // "Eleu?" Bot

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

Libraryless. Click here for Pure Java version (1660L/11K/36K).

!752

static PersistentLog<S> attnExamples;

p {
  attnExamples = new PersistentLog("attnExamples");
}

answer {
  if (!talkingBots()) null;

  s = s.trim();
  print(">> " + quote(s));
  if (eqic("eleu?", s)) {
    S a = lastAnswerTB();
    if (empty(a)) {
      setAdd(attnExamples, lastQuestionTB());
      ret "OK your question was saved. I'll pay attention next time";
    }
    ret "Did I say something wrong?";
  }
}

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: #1002980
Snippet name: "Eleu?" Bot
Eternal ID of this version: #1002980/1
Text MD5: 67305a059e3d821d6e1f7ab2c5fd732f
Transpilation MD5: 20c21ab846f1847a635e3aa9827724a6
Author: stefan
Category: nl bots
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-04-14 22:56:23
Source code size: 443 bytes / 22 lines
Pitched / IR pitched: No / No
Views / Downloads: 804 / 953
Referenced in: #3000376 - Answer for stefanreich (>> list sub bots)
#3000377 - Answer for stefanreich (>> timing eleu?)
#3000380 - Answer for stefanreich (>> list sub bots)
#3000381 - Answer for speedforce (>> list sub bots)
#3000382 - Answer for ferdie (>> t = 1, f = 0)