!752 static S prefix = "[eleu]"; static PersistentMap inToOut; p { inToOut = new PersistentMap("inToOut"); noteLast_load(); } synchronized answer { if (neq(getChannel(), "devchannel, #talkingbots")) null; S last = noteLast(s); S in = simplifySentence2(s); // check store prefix s = s.trim(); if (swic(s, prefix)) { S response = dropPrefixIgnoreCase(prefix, s).trim(); S lastIn =simplifySentence2(last); print("puppet save: " + lastIn + ", out=" + response); inToOut.put(lastIn, response); ret response; } S out = inToOut.get(in); print("in=" + in + ", out=" + out); if (nempty(out)) ret out; }