Prompt

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(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:prompt.png]]
+
[[File:prmpt8.jpg]]
  
  
Line 18: Line 20:
  
  
[[File:prompt1.png]]
+
[[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")


Prmpt8.jpg


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.


Prmpt9.jpg

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox