2019-03-02 19:08:54 -08:00
|
|
|
donateToFaction() Netscript Function
|
|
|
|
====================================
|
|
|
|
|
|
|
|
.. js:function:: donateToFaction(factionName, donateAmt)
|
2021-03-07 04:37:56 -05:00
|
|
|
|
2021-03-07 04:13:37 -05:00
|
|
|
:RAM cost: 5 GB
|
2019-03-02 19:08:54 -08:00
|
|
|
:param string factionName: Name of faction to donate to. CASE-SENSITIVE
|
|
|
|
:param number donateAmt: Amount of money to donate
|
2021-03-12 02:51:56 -05:00
|
|
|
:returns: ``true`` if you successfully donate the money.
|
2019-03-02 19:08:54 -08:00
|
|
|
|
|
|
|
If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function.
|
|
|
|
|
2021-03-12 02:51:56 -05:00
|
|
|
Attempts to donate money to the specified faction in exchange for reputation.
|