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)

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

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: 384 / 431
Version history: 9 change(s)
Referenced in: [show references]