[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [getScriptName](./bitburner.ns.getscriptname.md)
## NS.getScriptName() method
Returns the current script name.
Signature:
```typescript
getScriptName(): string;
```
Returns:
string
Current script name.
## Remarks
RAM cost: 0 GB