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).

1  
!7
2  
3  
// Independent means we start out with an empty knowledge base.
4  
5  
sS myName = "Number 5";
6  
7  
p {
8  
  thread { findOutMyCountryThroughIP(); }
9  
  ai_independentSmartBot();
10  
  bot_handleBothChats();
11  
}
12  
13  
answer {
14  
  if (match("Hello " + myName, s))
15  
    ret "I'm an independent smart bot here in " + findOutMyCountryThroughIP();
16  
}

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: 523 / 1140
Version history: 3 change(s)
Referenced in: [show references]