Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

10
LINES

< > BotCompany Repo | #1026605 // React to input in Convo Popup

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 911K of libraries. Click here for Pure Java version (4656L/23K).

!7

cmodule ReactToInput > DynPrintLogAndEnabled {
  start {
    dm_vmBus_onMessage_q chatUserInput((IVF2<O, S>) (mod, line) -> {
      if (!isTrue(dm_callOpt(mod, 'isMainChat))) ret;
      dm_callOpt(mod, 'reply, "What? " + dropTrailingPunctuation(line) + "??");
    });
  }
}

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: #1026605
Snippet name: React to input in Convo Popup
Eternal ID of this version: #1026605/6
Text MD5: 0d15b88cb6595dd2d4a5f57b2b0c8e72
Transpilation MD5: 4dff7140aa6cbc9fcedcfb9458687bd5
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-01-23 16:19:28
Source code size: 286 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 124 / 254
Version history: 5 change(s)
Referenced in: [show references]