Join the Bot Libre open source Projekt bei BotLibre.org
Bot Libre Forum : random remembered

RE: random remembered

durch admin gepostet Dec 27 2017, 18:05

Yes, you can use the "conversation" variable in a template in Self code.
You can also use "speaker" to access the current user's variable.

For the last phrase in the conversation,

conversation.input[-1].input

Set set a variable on the conversation,

conversation.myproperty = "my value";

Or on the speaker,

speaker.myproperty = "my value";


Id: 20313170
Gepostet: Dec 27 2017, 18:05
Antworten: 0
Ansichten: 2456, heute: 1, Woche: 4, Monat: 44
0 0 0.0/5