Uses 911K of libraries. Click here for Pure Java version (10419L/52K).
!7 cmodule ConvoPopupSingleModule > DynConvo { switchable S forModuleID; start { dm_watchFieldAndNow forModuleID(r { if (dm_moduleExists(forModuleID)) dm_setModuleName("Conversation with: " + dm_moduleName(forModuleID)); else dm_resetModuleName(); }); dm_vmBus_onMessage_q chatUserInput(voidfunc(O mod, S s) -> { if (!dm_isMe(mod)) ret; reply(trim(strOrNull(dm_rcallOpt answer(forModuleID, s)))); }); } }
Began life as a copy of #1026600
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1027446 |
Snippet name: | Conversation with a module |
Eternal ID of this version: | #1027446/12 |
Text MD5: | bc7a701edf7294fd19c8ec065d94aab2 |
Transpilation MD5: | 98a4dfe050bfa7797af72e7007aff56c |
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: | 2020-03-20 19:01:51 |
Source code size: | 487 bytes / 18 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 212 / 818 |
Version history: | 11 change(s) |
Referenced in: | #1027525 - dm_showConversationPopupForModule |