From 40843e35434d56e883655e4377994ac76746b184 Mon Sep 17 00:00:00 2001 From: AlmightyMiau Date: Wed, 13 Nov 2024 10:56:53 -0800 Subject: Organized scripts into folders --- bitburnerFiles1026/liquidate.js | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 bitburnerFiles1026/liquidate.js (limited to 'bitburnerFiles1026/liquidate.js') diff --git a/bitburnerFiles1026/liquidate.js b/bitburnerFiles1026/liquidate.js deleted file mode 100644 index 79f902e..0000000 --- a/bitburnerFiles1026/liquidate.js +++ /dev/null @@ -1,10 +0,0 @@ -/** @param {NS} ns */ -export async function main(ns) { - const syms = ns.stock.getSymbols(); - ns.scriptKill("stocks.js", "home"); - ns.scriptKill("stocker.js", "home"); - for (let i = 0; i < syms.length; i++) { - let shares = ns.stock.getMaxShares(syms[i]); - ns.stock.sellStock(syms[i], shares); - } -} \ No newline at end of file -- cgit v1.2.3