Libraryless. Click here for Pure Java version (14654L/101K).
1 | !7 |
2 | |
3 | module M2MChatBot > DynPrintLog { |
4 | start { |
5 | dm_vmBus_onMessage('gotFromPrivateMachineChat, voidfunc(fS sender, fS s) enter { |
6 | switch to q(); |
7 | dm_m2mChat_send(sender, answer(sender, s)); |
8 | }); |
9 | } |
10 | |
11 | S answer(S sender, S s) { |
12 | if "You there?" ret "Yo"; |
13 | null; |
14 | } |
15 | } |
download show line numbers debug dex old transpilations
Travelled to 11 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1019692 |
Snippet name: | Machine-to-machine Chat Bot [dev.] |
Eternal ID of this version: | #1019692/4 |
Text MD5: | c1edffddd14010b080ad3911b63fac67 |
Transpilation MD5: | 55479573b31be6d50e94a543ce6817ad |
Author: | stefan |
Category: | javax / stefan's os |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-11-19 15:05:19 |
Source code size: | 306 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 410 / 1910 |
Version history: | 3 change(s) |
Referenced in: | [show references] |