ask is a command to create a ready to use window with a field:

ask "What is your name?"

The text entered by the user is stored in the it variable.

Moreover you can add an icon, Livecode has the following predefined icons:

  • information
  • question
  • error
  • warning
ask information "What is your name?"