Libraryless. Click here for Pure Java version (4048L/27K/90K).
1 | !752 |
2 | |
3 | !include #1004681 // Concepts |
4 | |
5 | sclass UserSignedStatement extends Concept { |
6 | S text; |
7 | |
8 | *() {} |
9 | *(S *text) {} |
10 | } |
11 | |
12 | p { |
13 | loadConcepts(); |
14 | autoSaveConcepts(); |
15 | |
16 | makeBot("Sign User Statements."); // TODO: MAKE THIS NON-REACHABLE |
17 | } |
18 | |
19 | synchronized sS answer(S s) { |
20 | S text = trim(s) + "\n\n" + chatTimeWithYear(); |
21 | S signed = signWithUserID(text); |
22 | UserSignedStatement uss = new UserSignedStatement(signed); |
23 | ret "OK, signed & saved as ID " + uss.id + ": " + joinLines(" / ", signed); |
24 | } |
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, bkpbhqsukdzp, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1004859 |
Snippet name: | Sign User Statements Bot |
Eternal ID of this version: | #1004859/1 |
Text MD5: | e09993c25edb5378eb8ad60844e7607d |
Transpilation MD5: | d24664c73bcbcd1bec630c400f958a2f |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-09-06 19:14:44 |
Source code size: | 520 bytes / 24 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 502 / 1062 |
Referenced in: | [show references] |