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

27
LINES

< > BotCompany Repo | #1027723 // Cruddie Follower

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 911K of libraries. Click here for Pure Java version (5133L/26K).

1  
!7
2  
3  
cmodule CruddieFollowerModule > DynPrintLogAndEnabled {
4  
  switchable S cookie;
5  
  
6  
  transient CruddieFollower follower;
7  
  
8  
  start {
9  
    dm_watchFieldAndActuallyNow cookie(r makeFollower);
10  
    startThread(r loop);
11  
  }
12  
  
13  
  void makeFollower {
14  
    if (nempty(cookie))
15  
      follower = new CruddieFollower(cookie);
16  
    else
17  
      follower = null;
18  
  }
19  
  
20  
  void loop enter {
21  
    while ping (!deleted) { pcall {
22  
      if (!enabled || follower == null) continue with sleepSeconds(5);
23  
      print(follower!);
24  
      sleepSeconds(1);
25  
    }}
26  
  }
27  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1027723
Snippet name: Cruddie Follower
Eternal ID of this version: #1027723/13
Text MD5: 25788d17d70148ff88bb9f9cb9db80a8
Transpilation MD5: 47122b24413307ce0f5cf6a9fa17554d
Author: stefan
Category: javax / cruddie
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-04-05 14:26:51
Source code size: 568 bytes / 27 lines
Pitched / IR pitched: No / No
Views / Downloads: 213 / 1380
Version history: 12 change(s)
Referenced in: [show references]