Quezler / mindustry__nydus--script-pool

computercraft pastebin get flavored mindustry javascript.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nydus script pool

Call your script with /ts scriptName (without .js). Scripts are ran in the global namespace (same as with /js).

To access the argument(s) passed to the script use the variable argument. This contains all the arguments as a single string.

Script template

(function(){
    const args = parseArguments(argument);

    /*
      Your script goes here.

      Do not use global variables. Instead, declare variables with `var`:
        var randomPlayer = Vars.playerGroup.all().random();

      Anything returned by this function is sent back to the player.
    */
})();

About

computercraft pastebin get flavored mindustry javascript.

License:GNU General Public License v3.0


Languages

Language:JavaScript 100.0%