!752 !include #1004681 // Concepts p-substance { // pretty look&feel kevin(""); // Pre-initialize Kevin makeBot("Add A.I. Job Bot."); consoleInputField().setText("Type what you want me to do."); swingLater(50, r { consoleInputField().selectAll(); }); centerBigConsole(); } sS answer(S s) { s = trim(s); PassRef ref = cast rpc("AI Jobs.", "xnew", "AIJob", new O[] {"description", s, "addedByProgram", programID(), "hot", true}); kevin("Top " + ref.id + ": " + s); ret "OK, job added as HOT with ID " + ref; }