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 rulesFired; new L urlsToOpen; new L matches; // MATCH1... void setActiveRule(S rule) { activeRule = rule; print("New active rule: " + rule); } }