This commit is contained in:
Olivier Gagnon
2022-07-15 23:47:19 -04:00
parent 79ea0a8e9d
commit 6b18bfb145
24 changed files with 127 additions and 59 deletions

View File

@@ -9,7 +9,7 @@ Check if a script is running.
<b>Signature:</b>
```typescript
isRunning(script: FilenameOrPID, host: string, ...args: string[]): boolean;
isRunning(script: FilenameOrPID, host?: string, ...args: (string | number | boolean)[]): boolean;
```
## Parameters
@@ -18,7 +18,7 @@ isRunning(script: FilenameOrPID, host: string, ...args: string[]): boolean;
| --- | --- | --- |
| script | [FilenameOrPID](./bitburner.filenameorpid.md) | Filename or PID of script to check. This is case-sensitive. |
| host | string | Host of target server. |
| args | string\[\] | Arguments to specify/identify which scripts to search for. |
| args | (string \| number \| boolean)\[\] | Arguments to specify/identify which scripts to search for. |
<b>Returns:</b>