bitburner-src/doc/source/netscript/basicfunctions/getScriptName.rst
2021-03-12 02:51:56 -05:00

14 lines
261 B
ReStructuredText

getScriptName() Netscript Function
==================================
.. js:function:: getScriptName()
:RAM cost: 0 GB
:returns: Current script name.
Example:
.. code-block:: javascript
getScriptName(); // returns: "example.script"