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

24
LINES

< > BotCompany Repo | #1001709 // Execute "talk to bot" commands from User Request List Bot

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (2378L/16K/54K).

1  
!747
2  
3  
m {
4  
  p {
5  
    startBot("User Request List Bot", "#1001706");
6  
    makeAndroid3("Execute \"talk to bot\" commands bot.");
7  
    
8  
    while (true) {
9  
      try {
10  
        L<S> list = (L) unstructure(sendToLocalBotOpt("User Request List Bot", "structure"));
11  
        for (S s : list) {
12  
          new Matches m;
13  
          if (match3("talk to bot *", s, m)) {
14  
            sendToLocalBot("User Request List Bot", "remove *", s);
15  
            nohupJavax("#1001708 " + m.unq(0));
16  
          }
17  
        }
18  
      } catch (Exception e) {
19  
        print(e);
20  
      }
21  
      sleep(1000);
22  
    }
23  
  }
24  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1001709
Snippet name: Execute "talk to bot" commands from User Request List Bot
Eternal ID of this version: #1001709/1
Text MD5: ca0043cf5e934d7186091d6be4d8aa51
Transpilation MD5: af837c95f8c08e290fda1b33dd6ae66f
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-11-12 20:45:38
Source code size: 602 bytes / 24 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 518 / 818
Referenced in: [show references]