Libraryless. Click here for Pure Java version (1468L/9K/31K).
!752 static S news; p { load("news"); } answer { if (matchStart("have you heard the news", s, m)) { news = m.rest().trim(); save("news"); ret "Cool! I will tell everyone!"; } if "news" ret news; }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1002506 |
| Snippet name: | News Bot (developing) |
| Eternal ID of this version: | #1002506/1 |
| Text MD5: | fc65a5e179f6060d546579ff67d42a9c |
| Transpilation MD5: | e9fe7f33b1c6cdbd9dac2eeffbb715e9 |
| Author: | stefan |
| Category: | |
| Type: | JavaX source code |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2016-01-28 01:24:46 |
| Source code size: | 236 bytes / 17 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 866 / 1654 |
| Referenced in: | [show references] |