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).

!7

cmodule CruddieFollowerModule > DynPrintLogAndEnabled {
  switchable S cookie;
  
  transient CruddieFollower follower;
  
  start {
    dm_watchFieldAndActuallyNow cookie(r makeFollower);
    startThread(r loop);
  }
  
  void makeFollower {
    if (nempty(cookie))
      follower = new CruddieFollower(cookie);
    else
      follower = null;
  }
  
  void loop enter {
    while ping (!deleted) { pcall {
      if (!enabled || follower == null) continue with sleepSeconds(5);
      print(follower!);
      sleepSeconds(1);
    }}
  }
}

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: 212 / 1379
Version history: 12 change(s)
Referenced in: [show references]