runners.sf4.focus - vladzaharia/bitburner GitHub Wiki
▸ main(ns): Promise<void>
Automatically manage user's focus.
Each cycle will:
- Check what is currently focusable.
- Execute highest priority focusable.
Currently enrolled focusables:
- Program creation
- Faction work
Note: Requires access to singularity, either on BN4 or SF4.
export
example
run /runner/sf4/focus.js| Name | Type | Description |
|---|---|---|
ns |
NS |
The Netscript object. |
Promise<void>