static SS ctxLoadGlobals(S botID) { SS out = new TreeMap; File f = loadLibrary(botID); L names = endingWithIC("/di.globals", listFilesInZip(f)); for (S name : names) { L lines = toLinesFullTrim(loadTextFileFromZip(f, name)); for i, S s over lines: { new Matches m; L tok = javaTok(s); int idx = jfind(tok, "*=*;"); if (idx >= 0) out.put(tok.get(idx), unquoteCtx(tok.get(idx+4))); } } ret out; }