Join the Bot Libre open source project at BotLibre.org
Bot Libre Forum

remember random

by bobred posted May 25 2017, 12:26

How would i make a aiml script that would remember a random choice that the chatbot made?


by admin posted May 26 2017, 11:35
AIML has a random and set/get tags you could use for this.

See,
https://www.botlibre.com/manual-aiml.jsp

You may also consider using Self for this, as it has more random functions.

See,
https://www.botlibre.com/manual-self.jsp

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 2532, today: 1, week: 3, month: 26

by bobred posted May 27 2017, 19:42

I get a error but i do not know how fix this self script. random.self.txt


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 2561, today: 1, week: 2, month: 29

by admin posted May 28 2017, 8:32
Your code does not make any sense or compile.

See,
https://www.botlibre.com/manual-self.jsp

https://www.botlibre.com/script?category=Self

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 2601, today: 1, week: 4, month: 28

by bobred posted May 28 2017, 18:03

How do i code with learn?Here is my self code learner.self.txt


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 2491, today: 0, week: 4, month: 27

by bobred posted Sep 10 2018, 8:54

could someone help me with this?Or show me how to do it in aiml script?


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 2186, today: 0, week: 3, month: 31

Id: 17341341
Tags: aiml
Posted: May 25 2017, 12:26
Replies: 5
Views: 3995, today: 3, week: 6, month: 52
0 0 0.0/5