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

28
LINES

< > BotCompany Repo | #1007873 // Dialog With Smiley 2 [WORKS]

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

Uses 3874K of libraries. Click here for Pure Java version (11927L/81K/282K).

!7

static new Thoughts thoughts;

p-subst {
  bot();
  veryBigClearConsole();
  coActivateWithConsole(smiley().show());
  focusConsole();
  awtCalcEvery(consoleFrame(), 1000, r {
    if (thoughts.has("iceiqtzmsiwzhfml")) {
      smiley().emotion("shocked");
      sleepSeconds(2);
      cleanKill();
    }
  });
  set aiConceptsMap_silent;
  aiConceptsMap_cached(); // pre-load
  sleepQuietly();
}

answer {
  Lisp l = englishToLisp(s);
  if (l.is("smfxuyzvlydaapaf")) {
    thoughts.add(lisp("iceiqtzmsiwzhfml"));
    ret "Oh";
  }
}

Author comment

Began life as a copy of #1007335

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: #1007873
Snippet name: Dialog With Smiley 2 [WORKS]
Eternal ID of this version: #1007873/12
Text MD5: 5488f7400d78c63c0e1a74b1e5147002
Transpilation MD5: 9eef47810f0bbea3db95865d07219782
Author: stefan
Category: javax / gui / a.i.
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-07-24 17:48:15
Source code size: 562 bytes / 28 lines
Pitched / IR pitched: No / No
Views / Downloads: 486 / 583
Version history: 11 change(s)
Referenced in: [show references]