Libraryless. Click here for Pure Java version (1905L/13K/42K).
1 | !752 |
2 | |
3 | !include #1002900 // Web Chat API - chat.tinybrain.de |
4 | |
5 | p { |
6 | thread "German Assistant 2" { |
7 | //printIncoming(); |
8 | changeName("Assistent"); |
9 | while (loop()) { |
10 | while (matchQuestion_dropping("Kannst mich sehen?", |
11 | "hallo du ey hey hi assistent computer bot KI AI sag doch mal mir na ja so yo denn eigentlich und noch überhaupt in der liste")) { |
12 | S name = whoAsks(); |
13 | L<S> nicks = getPresentNicks(); |
14 | S answer; |
15 | if (nicks.contains(name)) |
16 | answer = "Ja!"; |
17 | else |
18 | answer = "Nein, du bist nicht (mehr?) in der Nick-Liste."; |
19 | answerQuestion(answer); |
20 | } |
21 | } |
22 | } |
23 | } |
Began life as a copy of #1002907
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: | #1002919 |
Snippet name: | German Assistant 2 ("Kannst du mich sehen?") |
Eternal ID of this version: | #1002919/1 |
Text MD5: | 1249b4774c807543e45845f8ca483aa9 |
Transpilation MD5: | 14e5898231145ed5287f0ea54f4c7168 |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-04-05 20:50:56 |
Source code size: | 672 bytes / 23 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 590 / 952 |
Referenced in: | [show references] |