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

18
LINES

< > BotCompany Repo | #1002327 // Easy reload bot

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

Libraryless. Click here for Pure Java version (1612L/11K/36K).

!752

p{
  makeBot("Easy reload bot");
}

answer{
  if(matchStart("re sub *", s, m)){
    S reloadResult = cast call(getMainBot(), "answer",  "reload sub bot 100" + m.unq(0) , false);
    //ret "Reloaded #100" + m.unq(0);
    ret reloadResult;
  }
  if(matchStart("re *", s, m)){
    S reloadResult = cast call(getMainBot(), "answer",  "reload 100" + m.unq(0) , false);
    //ret "Reloaded #100" + m.unq(0);
    ret reloadResult;
  }
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1002327
Snippet name: Easy reload bot
Eternal ID of this version: #1002327/1
Text MD5: 20e0eb835bdf9ff7021ce5d7a041b106
Transpilation MD5: 04c074261b838f2fe090c6c28c90ce1d
Author: bgrgndz
Category:
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-01-05 17:23:54
Source code size: 452 bytes / 18 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 910 / 1535
Referenced in: [show references]