1.5 KiB
1.5 KiB
.gbdialog Reference
Using Conversational BASIC
The following file types are loaded from a .gbdialog package: .vbs
, .vb
, .basic
and .bas
.
General Bots BASIC reference
Instruction | Description |
---|---|
hear variable | Hears something from the person into a variable for later use. |
confirm variable (Comming soon) | Waits for confirmation like 'yes', 'y', 'yeah' and return true or false |
talk message | Talk the specified message to the person. |
generate a password | Creates a new password into the system variable password for later use. |
create a bot farm using params | Deploys a new bot farm to the cloud. |
wait seconds | Wait a number of seconds before continuing the conversation. |
How To
Generate a password for the person
talk "Let's generate a very dificult to guess password for the new bot:"
generate a password
talk "Your password is *" + password + "*. Keep it on a safe place only acessible to you."
Get the list of cloud subscriptions
hear one of subscriptions with email, password into subscriptionId
talk "The subscription selected was: " + subscriptionId