bitburner-src/doc/source/netscript/basicfunctions/killall.rst

17 lines
413 B
ReStructuredText
Raw Normal View History

killall() Netscript Function
============================
2021-03-12 08:51:56 +01:00
.. js:function:: killall(hostname)
:RAM cost: 0.5 GB
2021-03-12 08:51:56 +01:00
:param string hostname: Hostname of the server on which to kill all scripts.
:returns: ``true`` if scripts were killed on target server.
2021-03-12 08:51:56 +01:00
Kills all running scripts on the specified server.
Example:
.. code-block:: javascript
killall('foodnstuff'); // returns: true