scriptKill() Netscript Function

scriptKill(scriptname, hostname/ip)
  • scriptname (string) – Filename of script to kill. This is case-sensitive.
  • hostname/ip (string) – 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.