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

12
LINES

< > BotCompany Repo | #736 // Public command executer

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

Libraryless. Click here for Pure Java version (362L/4K/12K).

!636
!standard functions

main {
  psvm {
    // print arguments
    for (int i = 0; i < args.length; i++)
      System.out.println("Argument " + (i+1) + ": " + quote(args[i]));
    String cmd = join(" ", args); // TODO: quote
    ntUpload("736-" + computerID(), "Command entered: " + cmd, cmd);
  }
}

Author comment

Began life as a copy of #735

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #736
Snippet name: Public command executer
Eternal ID of this version: #736/1
Text MD5: cef397b09d422e3372ceee61bf09de1f
Transpilation MD5: d5651ef05c9472ed0d4a3ce030e6795b
Author: stefan
Category:
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-08-14 21:46:47
Source code size: 312 bytes / 12 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 519 / 589
Referenced in: [show references]