Did you know Bot Libre also provides free hosted forums for your own website or mobile app?
Bot Libre Forum : run a script in a greeting

RE: run a script in a greeting

by admin posted Oct 10 2018, 13:28

So a "redirect" send the redirect text as a message to the bot and returns the response.

For example if a bot had a script that had the pattern "hello" and returned "hello world", then in a Template redirect("hello") would return "hello world".

In my example "script_greeting" was an example message, you need a script that accepts this pattern and return your desired response. If you have no response for "script_greeting", then your bot would use its default response.


Id: 24327957
Posted: Oct 10 2018, 13:28
Replies: 0
Views: 1087, today: 2, week: 33, month: 43
I'm sure
Flag post as offensive, or in violation of site rules