升级到我们的 Platinum 服务并让我们建立您的机器人给你
Bot Libre Forum : run a script in a greeting

RE: run a script in a greeting

通过 admin 发布 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
发布: Oct 10 2018, 13:28
答复: 0
的风景: 1362, 今天: 1, 周: 3, 一个月: 18
我敢肯定
标志后的进攻,或者在违反规则网站