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

16
LINES

< > BotCompany Repo | #1013324 // Independent Smart Bot Handling Both Chats [OK]

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

Download Jar. Libraryless. Click here for Pure Java version (20399L/146K).

!7

// Independent means we start out with an empty knowledge base.

sS myName = "Number 5";

p {
  thread { findOutMyCountryThroughIP(); }
  ai_independentSmartBot();
  bot_handleBothChats();
}

answer {
  if (match("Hello " + myName, s))
    ret "I'm an independent smart bot here in " + findOutMyCountryThroughIP();
}

Author comment

Began life as a copy of #1013322

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, jtubtzbbkimh, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

-
Snippet ID: #1013324
Snippet name: Independent Smart Bot Handling Both Chats [OK]
Eternal ID of this version: #1013324/4
Text MD5: 5289c3e6025fe3db7237628e211f5b8d
Transpilation MD5: 488af377f15ea5287b6253f14e3922e9
Author: stefan
Category: javax / a.i.
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-01-01 03:16:30
Source code size: 335 bytes / 16 lines
Pitched / IR pitched: No / No
Views / Downloads: 522 / 1138
Version history: 3 change(s)
Referenced in: