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

16
LINES

< > BotCompany Repo | #1002993 // TB Definitions remove Bot

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

Libraryless. Click here for Pure Java version (1791L/12K/38K).

1  
!752
2  
3  
static Map<S, S> shortDefinitions;
4  
5  
p {
6  
  shortDefinitions = new PersistentMap("shortDefinitions");
7  
}
8  
9  
synchronized answer {
10  
  if (!tb()) null;
11  
  
12  
  if "* is not a *" {
13  
    shortDefinitions.remove(toLowerCase(m.unq(0)));
14  
    ret "Removed!";
15  
  }
16  
}

Author comment

Began life as a copy of #1002991

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: #1002993
Snippet name: TB Definitions remove Bot
Eternal ID of this version: #1002993/1
Text MD5: 522e3063f6c4eb6d6b9b6952e09bcd58
Transpilation MD5: 34aad12a8ad243d0b2c55fb8a7ae7966
Author: bgrgndz
Category: eleu / nl
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-04-15 17:55:01
Source code size: 267 bytes / 16 lines
Pitched / IR pitched: No / No
Views / Downloads: 798 / 790
Referenced in: [show references]