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

7
LINES

< > BotCompany Repo | #1008896 // ctxActionToText - superseded by ctxProcessAction

JavaX fragment (include)

1  
static S ctxActionToText(WoodyBot bot, S body) {
2  
  L<S> tok = ctxStringProcessing(bot.globals, javaTok(body));
3  
  ctxSimplifyIfs(tok, bot);
4  
  if (jmatch("agent.say(*);", tok) && isQuoted(tok.get(9)))
5  
    ret unquoteCtx(tok.get(9));
6  
  null;
7  
}

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: #1008896
Snippet name: ctxActionToText - superseded by ctxProcessAction
Eternal ID of this version: #1008896/10
Text MD5: 21b027f4164a611e48832f41318066f0
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-06-18 17:32:56
Source code size: 246 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 441 / 485
Version history: 9 change(s)
Referenced in: [show references]