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

!752

answer {
  if (matchStart("t", s, m) || matchStart("tinybrain search", s, m)) {
    S query = m.rest();
    S url = "http://tinybrain.de:8080/tb/search.php?q=" + urlencode(query);
    ret url;
  }
}

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: 652 / 733
Referenced in: #1002570 - Advanced TinyBrain Search Bot
#3000179 - Answer for stefanreich
#3000180 - Answer for stefanreich
#3000181 - Answer for stefanreich
#3000182 - Answer for stefanreich
#3000184 - Answer for stefanreich
#3000185 - Answer for stefanreich
#3000188 - Answer for stefanreich(>> t search)
#3000202 - Answer for stefanreich (>> T conversion bot)
#3000238 - Answer for stefanreich (>> t power bot)
#3000382 - Answer for ferdie (>> t = 1, f = 0)