Skip to content

Instantly share code, notes, and snippets.

@michaelkebe
Created February 1, 2022 20:09
Show Gist options
  • Save michaelkebe/e56d5eb9e25d92180f18905d2986ac54 to your computer and use it in GitHub Desktop.
Save michaelkebe/e56d5eb9e25d92180f18905d2986ac54 to your computer and use it in GitHub Desktop.
/** @param {NS} ns **/
export async function main(ns) {
const delay = ns.args[1]
if (delay) {
await ns.sleep(delay)
}
await ns.hack(ns.args[0])
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment