هل تعلم بوت Libre كما يوفر مجانا استضافت تتبع القضية على موقع الويب الخاص بك أو الهاتف المحمول التطبيق ؟
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.


معرف: 24327957
نشر: Oct 10 2018, 13:28
الردود: 0
الآراء: 2029, اليوم: 1, الأسبوع: 4, الشهر: 12
0 0 0.0/5