mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-27 00:17:32 +01:00
12 lines
499 B
ReStructuredText
12 lines
499 B
ReStructuredText
|
scriptKill() Netscript Function
|
||
|
===============================
|
||
|
|
||
|
.. js:function:: scriptKill(scriptname, hostname/ip)
|
||
|
|
||
|
: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
|
||
|
|
||
|
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.
|