Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

24
LINES

< > BotCompany Repo | #1004859 // Sign User Statements Bot

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (4048L/27K/90K).

!752

!include #1004681 // Concepts

sclass UserSignedStatement extends Concept {
  S text;
  
  *() {}
  *(S *text) {}
}

p {
  loadConcepts();
  autoSaveConcepts();
  
  makeBot("Sign User Statements."); // TODO: MAKE THIS NON-REACHABLE
}

synchronized sS answer(S s) {
  S text = trim(s) + "\n\n" + chatTimeWithYear();
  S signed = signWithUserID(text);
  UserSignedStatement uss = new UserSignedStatement(signed);
  ret "OK, signed & saved as ID " + uss.id + ": " + joinLines(" / ", signed);
}

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: 500 / 1058
Referenced in: [show references]