mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-27 01:53:48 +01:00
11 lines
422 B
ReStructuredText
11 lines
422 B
ReStructuredText
prompt() Netscript Function
|
|
===========================
|
|
|
|
.. js:function:: prompt(txt)
|
|
|
|
:param string txt: Text to appear in the prompt dialog box
|
|
:RAM cost: 0 GB
|
|
|
|
Prompts the player with a dialog box with two options: "Yes" and "No". This function will return true if the player click "Yes" and
|
|
false if the player clicks "No". The script's execution is halted until the player selects one of the options.
|