Libraryless. Click here for Pure Java version (470L/4K/12K).
!747 !pcall { m { static S myName = "Echo Bot"; static int delay = 5000; p { while (true) { pcall { // make sure we stay runnning if connection fails or error for (ChatLine l : suckWebChat(myName)) { if (l.isBot) continue; sayInWebChat(myName, "Yeah right... " + l.text); } } sleep(delay); } } }
download show line numbers debug dex old transpilations
Travelled to 16 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, jtubtzbbkimh, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1001546 |
Snippet name: | Echo Bot (web chat) |
Eternal ID of this version: | #1001546/1 |
Text MD5: | 58b8c7873ea9a77bbea19566099b78d2 |
Transpilation MD5: | a54d71642b079a06a17911516a9ed87b |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-11-07 17:50:02 |
Source code size: | 387 bytes / 19 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 661 / 679 |
Referenced in: | #1001578 - Leo Bot Web Chat Gateway #3000202 - Answer for stefanreich (>> T conversion bot) #3000238 - Answer for stefanreich (>> t power bot) #3000382 - Answer for ferdie (>> t = 1, f = 0) |