Uses 13052K of libraries. Click here for Pure Java version (4213L/28K/96K).
1 | !752 |
2 | |
3 | !include #1004681 // Concepts |
4 | |
5 | p-substance { // pretty look&feel
|
6 | kevin(""); // Pre-initialize Kevin
|
7 | makeBot("Add A.I. Job Bot.");
|
8 | |
9 | consoleInputField().setText("Type what you want me to do.");
|
10 | swingLater(50, r { consoleInputField().selectAll(); });
|
11 | centerBigConsole(); |
12 | } |
13 | |
14 | sS answer(S s) {
|
15 | s = trim(s); |
16 | PassRef ref = cast rpc("AI Jobs.", "xnew", "AIJob", new O[] |
17 | {"description", s, "addedByProgram", programID(), "hot", true});
|
18 | kevin("Top " + ref.id + ": " + s); |
19 | ret "OK, job added as HOT with ID " + ref; |
20 | } |
Began life as a copy of #1004131
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, wltunwwkxhxr
No comments. add comment
| Snippet ID: | #1004854 |
| Snippet name: | Add A.I. Job Bot |
| Eternal ID of this version: | #1004854/1 |
| Text MD5: | 7503d90ffcdad32740be7a8312def338 |
| Transpilation MD5: | 22ead78e34b9e42ec3eca5a0a0331e19 |
| Author: | stefan |
| Category: | javax / talking robots |
| Type: | JavaX source code |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2016-09-06 02:27:29 |
| Source code size: | 552 bytes / 20 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 731 / 883 |
| Referenced in: | [show references] |