Prompt
From UBot Studio
(Difference between revisions)
(Created page with "$Prompt is a System Function. The function prompts the user to respond and returns the text that was typed into the function. == Example == <pre> type ...") |
(→Example) |
||
(2 intermediate revisions by one user not shown) | |||
Line 2: | Line 2: | ||
The function prompts the user to respond and returns the text that was typed into the function. | The function prompts the user to respond and returns the text that was typed into the function. | ||
+ | |||
+ | '''Message:''' The message that will appear in the prompt. | ||
Line 9: | Line 11: | ||
</pre> | </pre> | ||
− | [[File: | + | |
+ | [[File:prmpt8.jpg]] | ||
+ | |||
The prompt will appear with the instruction to type in a username into the field in the prompt. | The prompt will appear with the instruction to type in a username into the field in the prompt. | ||
Line 15: | Line 19: | ||
Whatever is typed into the field is what the function will return. | Whatever is typed into the field is what the function will return. | ||
− | [[File: | + | |
+ | [[File:prmpt9.jpg]] |
Latest revision as of 22:44, 28 December 2016
$Prompt is a System Function.
The function prompts the user to respond and returns the text that was typed into the function.
Message: The message that will appear in the prompt.
[edit] Example
type text(<username field>, $prompt("Please type your preferred username!"), "Standard")
The prompt will appear with the instruction to type in a username into the field in the prompt.
Whatever is typed into the field is what the function will return.