bitburner-src/doc/source/netscript/sleeveapi/commitCrime.rst
2019-03-17 18:15:10 -07:00

12 lines
402 B
ReStructuredText

commitCrime() Netscript Function
=======================================
.. js:function:: commitCrime(sleeveNumber, name)
:param int sleeveNumber: index of the sleeve to start commiting crime.
: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.