static S robo_input(S msg) {
say(msg);
ret robo_input();
}
static S robo_input() {
S s = readLine_enableConsole();
if (ai_enabled() && s != null) post("User", "said", quote(s));
ret s;
}Began life as a copy of #1013754
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1017033 |
| Snippet name: | robo_input - get input from console for robos |
| Eternal ID of this version: | #1017033/1 |
| Text MD5: | cc92b9027494458d0709a6c00f38f5df |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-07-10 22:39:21 |
| Source code size: | 206 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 726 / 882 |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |