Upgrade auf unsere kommerziellen service Bot Libre for Business für nur $4.99 pro Monat
Bot Libre Forum : run a script in a greeting

RE: run a script in a greeting

durch admin gepostet 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
Gepostet: Oct 10 2018, 13:28
Antworten: 0
Ansichten: 1248, heute: 1, Woche: 2, Monat: 8
Ich bin mir sicher, dass
Flag post als anstößig oder in Verletzung der Regeln dieser Website