1 | static S robo_input(S msg) { |
2 | say(msg); |
3 | ret robo_input(); |
4 | } |
5 | |
6 | static S robo_input() { |
7 | S s = readLine_enableConsole(); |
8 | if (ai_enabled() && s != null) post("User", "said", quote(s)); |
9 | ret s; |
10 | } |
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: | 302 / 331 |
Referenced in: | [show references] |