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

7
LINES

< > BotCompany Repo | #1016382 // ai1_iWant

JavaX fragment (include)

1  
svoid ai1_iWant(S s) {
2  
  new Matches m;
3  
  if (match_brackets("I want *", s, m)) {
4  
    S a = random(mechReversedMultiMapCI("General definitions (long list)").get(unCurlyBracket(m.get(0))));
5  
    emit("Why not try " + curly(a) + "?");
6  
  }
7  
}

Author comment

Began life as a copy of #1016144

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1016382
Snippet name: ai1_iWant
Eternal ID of this version: #1016382/1
Text MD5: 340fddb7b053fdeb0e4f87895535ff60
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-16 17:19:57
Source code size: 243 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 429 / 453
Referenced in: [show references]