bitburner-src/doc/source/netscript/basicfunctions/getScriptName.rst

14 lines
261 B
ReStructuredText
Raw Normal View History

getScriptName() Netscript Function
==================================
.. js:function:: getScriptName()
:RAM cost: 0 GB
2021-03-12 08:51:56 +01:00
:returns: Current script name.
2021-03-12 08:51:56 +01:00
Example:
.. code-block:: javascript
getScriptName(); // returns: "example.script"