1 | static volatile L<S> simpleChatPresence_names; |
2 | |
3 | static void simpleChatPresence(S... names) {
|
4 | simpleChatPresence_names = asList(names); |
5 | O chat = simpleChatBot(); |
6 | if (chat == null) {
|
7 | if (nempty(names)) |
8 | loadPage("http://ai1.lol/" + simpleChatID() + "/raw?robo=1&user=" + urlencode(first(names))); // TODO: multiple names, repeat sending presence
|
9 | } else |
10 | call(chat, "setPermanentPresence", programID(), asList(names)); |
11 | } |
Began life as a copy of #1003094
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: | #1003109 |
| Snippet name: | simpleChatPresence |
| Eternal ID of this version: | #1003109/1 |
| Text MD5: | a6414c602fb68c0a67ccef31d3dcac33 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2016-06-06 00:52:32 |
| Source code size: | 447 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 980 / 961 |
| Referenced in: | [show references] |