Skip to content

Instantly share code, notes, and snippets.

@Rio6
Last active September 17, 2020 22:30
Show Gist options
  • Save Rio6/41be0eb70ac29cfe30e58c5c70c43eaf to your computer and use it in GitHub Desktop.
Save Rio6/41be0eb70ac29cfe30e58c5c70c43eaf to your computer and use it in GitHub Desktop.
A script that exports your currrent fleet to a script that replaces your current fleet with the exported fleet
/*
* A script that exports your currrent fleet to a script that
* replaces your current fleet with the exported fleet.
*
* by R26
*/
console.log(`JSON.parse(atob("${btoa(JSON.stringify(commander.buildBar))}")).forEach((e, i) => buildBar.setSpec(i, e)); control.savePlayer()`);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment