Prompt
From UBot Studio
(Difference between revisions)
(→Example) |
(→Example) |
||
(One intermediate revision 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 10: | Line 12: | ||
− | [[File: | + | [[File:prmpt8.jpg]] |
Line 18: | Line 20: | ||
− | [[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.