!747 m { static S botToReferTo; static S lastQuestion; static boolean bypass; p { makeAndroid3("Joke Bot."); } static synchronized S answer(S s, L history) { if (!bypass) { if (match3("how many", s) || match3("how many ...", s)) { lastQuestion = s; return "" + randomNumber(); } if (match3("ok joke bot ...", s)) { bypass = true; return "ok ok. " + sendToLocalBot(botToReferTo, lastQuestion); } } ret sendToLocalBotOpt(botToReferTo, s); } static long randomNumber() { return new Random().nextLong(); } }