Prompt

From UBot Playground
Jump to: navigation, search

$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.


Example[edit]

type text(<username field>, $prompt("Please type your preferred username!"), "Standard")


Prompt.png


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.


Prompt1.png