<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [getScriptName](./bitburner.ns.getscriptname.md) ## NS.getScriptName() method Returns the current script name. <b>Signature:</b> ```typescript getScriptName(): string; ``` <b>Returns:</b> string Current script name. ## Remarks RAM cost: 0 GB