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

53
LINES

< > BotCompany Repo | #1001492 // Self-moving OS Sensor

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

Libraryless. Click here for Pure Java version (2515L/17K/54K).

!747

!1000805 // awt
!image classes

m {
  !include #1001425 // ShowBigText
  
  static S os;
  static boolean wtf;
  
  p {
    readLocally("os");
    new ShowBigText sbt;
    sbt.title = "OS Sensor";
    if (os != null) sbt.showText(os + "!");
    
    for (int n = 0; n < 2; n++) {
      S theOS = getOS();
      if (os != null && !eq(os, theOS)) {
        for (int i = 0; i < 3; i++) {
          wtf = true;
          sbt.showText("WTF!");
          sleepSeconds(1);
          sbt.showText(os + "!");
          sleepSeconds(1);
          sbt.showText(theOS + "!");
          sleepSeconds(1);
        }
        wtf = false;
      }
      
      if (!eq(os, theOS)) {
        os = theOS;
        saveLocally("os");
        sbt.showText(os + "!");
      }
      
      sleepSeconds(5);
    }
    
    // Move!
    
    hyperMove("teubizvjbppd", "dhtvkmknsjym");
    System.exit(0);
  }
  
  static S getOS() {
    if (isAndroid()) ret "Android";
    if (isMac()) ret "Mac OS";
    if (isWindows()) ret "Windows";
    ret "Linux"; // Everything else is Linux... Yeah it's generous :)
  }
}

Author comment

Began life as a copy of #1001468

download  show line numbers  debug dex  old transpilations   

Travelled to 16 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, dhtvkmknsjym, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1001492
Snippet name: Self-moving OS Sensor
Eternal ID of this version: #1001492/1
Text MD5: 9de1ebf527e176764ab350d05649def7
Transpilation MD5: 61ec10c090fd22806633d80287ffc6df
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-10-19 18:35:44
Source code size: 1141 bytes / 53 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 573 / 669
Referenced in: [show references]