Skip to content

Quezler/mindustry__nydus--script-pool

Repository files navigation

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published