bitburner-src/doc/source/netscript/basicfunctions/nuke.rst
2023-01-06 14:43:09 +02:00

19 lines
448 B
ReStructuredText

nuke() Netscript Function
=========================
.. js:function:: nuke(hostname)
:RAM cost: 0.05 GB
:param string hostname: Hostname of the target server.
Runs the ``NUKE.exe`` program on the target server. ``NUKE.exe`` must exist
on your home computer. Requires the targeted server to have enough ports opened,
otherwise will throw an error.
Example:
.. code-block:: javascript
ns.nuke("foodnstuff");