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).

!752

static Map<S, S> shortDefinitions;

p {
  shortDefinitions = new PersistentMap("shortDefinitions");
}

synchronized answer {
  if (!tb()) null;
  
  if "* is not a *" {
    shortDefinitions.remove(toLowerCase(m.unq(0)));
    ret "Removed!";
  }
}

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: 799 / 790
Referenced in: #3000382 - Answer for ferdie (>> t = 1, f = 0)