Libraryless. Click here for Pure Java version (1660L/11K/36K).
1 | !752 |
2 | |
3 | static PersistentLog<S> attnExamples; |
4 | |
5 | p {
|
6 | attnExamples = new PersistentLog("attnExamples");
|
7 | } |
8 | |
9 | answer {
|
10 | if (!talkingBots()) null; |
11 | |
12 | s = s.trim(); |
13 | print(">> " + quote(s));
|
14 | if (eqic("eleu?", s)) {
|
15 | S a = lastAnswerTB(); |
16 | if (empty(a)) {
|
17 | setAdd(attnExamples, lastQuestionTB()); |
18 | ret "OK your question was saved. I'll pay attention next time"; |
19 | } |
20 | ret "Did I say something wrong?"; |
21 | } |
22 | } |
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: | 1050 / 1252 |
| Referenced in: | [show references] |