Download Bot Libre Desktop, your own personal bot for your PC or Mac
Bot Libre Forum : random remembered

RE: random remembered

by admin posted 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
Posted: Dec 27 2017, 18:05
Replies: 0
Views: 1680, today: 2, week: 7, month: 17
0 0 0.0/5