global variable that can be reached in any of the bot's templates |
Pardon me for the basic question,but here we go: Im trying to define a global variable in a self script that I can access in the bot´s response templates. I was searching the scripts but couldnt find, at least in a way it works. Im probably missing something. I've tried something like the code below: state MyScript { function createIt() { Then Im trying to use {#myVar}, for example, in some response definition like this {#myVar}. Please could you tell me how could it be done and what Im doing wrong? |
|
|
|
|