[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [getScriptExpGain](./bitburner.ns.getscriptexpgain_1.md)
## NS.getScriptExpGain() method
Signature:
```typescript
getScriptExpGain(script: string, host: string, ...args: string[]): number;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| script | string | |
| host | string | |
| args | string\[\] | |
Returns:
number