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

9
LINES

< > BotCompany Repo | #1002476 // Simple TinyBrain Search Bot

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

Libraryless. Click here for Pure Java version (774L/6K/18K).

1  
!752
2  
3  
answer {
4  
  if (matchStart("t", s, m) || matchStart("tinybrain search", s, m)) {
5  
    S query = m.rest();
6  
    S url = "http://tinybrain.de:8080/tb/search.php?q=" + urlencode(query);
7  
    ret url;
8  
  }
9  
}

Author comment

Began life as a copy of #1001994

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: #1002476
Snippet name: Simple TinyBrain Search Bot
Eternal ID of this version: #1002476/1
Text MD5: 8f9f9b724fa95302977345bfb4921010
Transpilation MD5: 6422df34c308def2a2b4e8fe258d4f17
Author: stefan
Category:
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-02-02 16:46:17
Source code size: 212 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 651 / 732
Referenced in: [show references]