mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-18 07:18:38 +02:00
work to make documentation unified.
This commit is contained in:
@@ -1,11 +1,18 @@
|
||||
scriptKill() Netscript Function
|
||||
===============================
|
||||
|
||||
.. js:function:: scriptKill(scriptname, hostname/ip)
|
||||
.. js:function:: scriptKill(scriptname, hostname)
|
||||
|
||||
:param string scriptname: Filename of script to kill. This is case-sensitive.
|
||||
:param string hostname/ip: Hostname or IP of target server
|
||||
:RAM cost: 1 GB
|
||||
:param string scriptname: Filename of script to kill. case-sensitive.
|
||||
:param string hostname: Hostname of target server.
|
||||
:returns: ``true`` if any scripts were killed.
|
||||
|
||||
Kills all scripts with the specified filename on the target server specified by *hostname/ip*, regardless of arguments. Returns
|
||||
true if one or more scripts were successfully killed, and false if none were.
|
||||
Kills all scripts with the specified filename on the target server specified
|
||||
by ``hostname``, regardless of arguments.
|
||||
|
||||
Example:
|
||||
|
||||
.. code-block:: javascript
|
||||
|
||||
scriptKill("demo.script"); // returns: true
|
||||
|
||||
Reference in New Issue
Block a user