Core Function InputBox

From Sputnik Wiki
Revision as of 12:38, 14 June 2015 by UberFoX (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
InputBox( <title>, <message>, <default text> )

Contents

Description

Shows a box to input text.

Parameters

title

The title of the input box.

message

The message asking the user in the input box.

default text

The default text that appears in the text box of the input box.

Return Value

Success: Returns the text inputted in the text box.

Failure: Returns null if user cancelled.

Examples

$Form = InputBox("Hello!", "What is your name?", "");
MsgBox("Your name is ".$Form."!", "Hello!");
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox