.. _netscriptfunctions: Netscript Basic Functions ========================= This page contains a subset of functions that are available in Bitburner. For the complete list see https://github.com/danielyxie/bitburner/tree/dev/markdown This includes information such as function signatures, what they do, and their return values. .. toctree:: :caption: Functions: hack() grow() weaken() sleep() print() tprint() disableLog() enableLog() isLogEnabled() scan() nuke() brutessh() ftpcrack() relaysmtp() httpworm() sqlinject() run() exec() spawn() kill() killall() scp() ls() ps() hasRootAccess() getHackingLevel() getHackingMultipliers() getHacknetMultipliers() getServerMoneyAvailable() getServerMaxMoney() getServerSecurityLevel() getServerMinSecurityLevel() getServerRequiredHackingLevel() getServerNumPortsRequired() getServerMaxRam() getServerUsedRam() serverExists() fileExists() isRunning() getPurchasedServerCost() purchaseServer() deleteServer() getPurchasedServers() getPurchasedServerLimit() getPurchasedServerMaxRam() scriptRunning() scriptKill() getScriptRam()