sclass CtxContext { // general for bot SS regexpMacros, globals; // per session S activeRule, activeAnalyzer; SS vars = new HashMap; S input; new StringBuilder newOutput; int conversationLength; bool jumpaway, thinkagain; S nextRule; int safetyCounter; // number of rules applied in step new L<S> rulesFired; new L<S> urlsToOpen; new L<S> matches; // MATCH1... void setActiveRule(S rule) { activeRule = rule; print("New active rule: " + rule); } }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1008910 |
Snippet name: | CtxContext - context for evaluating ctx conditions |
Eternal ID of this version: | #1008910/23 |
Text MD5: | 0eeb80c7ff1e3b11e96e9e0e6dc50a19 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-07-04 18:10:46 |
Source code size: | 520 bytes / 24 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 619 / 1500 |
Version history: | 22 change(s) |
Referenced in: | [show references] |