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

12 lines
402 B
ReStructuredText
Raw Normal View History

2019-03-13 00:05:38 +01:00
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.