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

11
LINES

< > BotCompany Repo | #1013427 // ai_autoApplyRules

JavaX fragment (include)

static S ai_autoApplyRules(S input) ctex {
  temp temp_ai_setVar("#input", input);
  L<S> rules = ai_texts_verified("$X", "is", "an auto-apply rule");
  ai_prepLoadFunctions();
  Class c = loadFunctions_cached(rules);
  for (S ruleName : rules) {
    print("Calling rule function: " + ruleName);
    try answer (S) pcallOpt(c, ruleName);
  }
  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: #1013427
Snippet name: ai_autoApplyRules
Eternal ID of this version: #1013427/6
Text MD5: 4c2d8049bf01d69d272e9bf9ea742d5b
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-01-06 07:21:05
Source code size: 361 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 276 / 319
Version history: 5 change(s)
Referenced in: [show references]