Knowledgebase
UBot Studio 4.0: Creating Alerts
Posted by Miriam M-B on 03 December 2011 02:35 PM

This is a simple short suggestion on how to create pop up boxes within your bot to add smooth flowing qualify to the way your bot is organized and who it works. You can find the alert command under the Flow commands in UBot Studio. Drag the command in the script. 

Alert command in scripting window

 

A field will be open in the command that will allow you to type what message you want to pop up when the command is run.

For this example, let’s type in “Please Sign In!”
What will pop up after you run the script will be this: 

alert pop up displaying "Please Sign In"

 

You can add anything you want into the alert command. Usernames, Variables, numbers (list totals) or whatever you need to bring to attention within your bot. Here is an example of a pop up with a variable, which has been set to a user name with the account function. 

 

set command set to a username via the account functions

 

 The user name will not change when you run the script. 

 

Pop up with "Please Sign in Ovalperfume23" displayed

 

Alert is a wonderful way to guide your end users through the processes within your bot.


 *TIP* If you want the rest of the bot to keep running while the dialog box is up, simple put the alert command in a thread command (found under flow commands). That will bring up the dialog box while everything else continues on.

 

 

 

 


Comments (0)
Help Desk Software by Kayako Resolve