bitburner-src/doc/source/netscript/sleeveapi/setToCommitCrime.rst

14 lines
497 B
ReStructuredText
Raw Normal View History

setToCommitCrime() Netscript Function
=====================================
.. js:function:: setToCommitCrime(sleeveNumber, name)
:param int sleeveNumber: Index of the sleeve to start commiting crime. See :ref:`here <netscript_sleeveapi_referencingaduplicatesleeve>`
:param string name: Name of the crime. Must be an exact match.
Return a boolean indicating whether or not this action was set successfully.
Returns false if an invalid action is specified.
:RAM cost: 4 GB