Знаете ли вы, бот Либре также предоставляет бесплатное размещение отслеживания проблем для вашего собственного сайта или мобильное приложение?
Self, AIML, and scripting

HI Im new at AIML / Self languange

по sadmiral2 опубликовано Apr 12 2019, 9:53

as like the title. i wanna ask something

so right now im trying building facebook page autopost bot.

may with-ur-kindness , help me to script things like :

1. create a new variable, which it from a random numeric from 4 to 9

2. after get the variable number, we use it to create a total lists by the variable, ex: we got 5. so it will create a new list for 5 rows.


only it! thanks for admin and whoever who will answer this.

it just an example, i will elaborate it once i got the codes and learning from it! :)

by admin posted Apr 14 2019, 16:41

To create a random in Self use the Math.random() function,

var value = Math.random(5) + 4;

See, docs

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 2500, today: 0, week: 0, month: 15

Идентификатор: 26544562
Теги: how to, facebook, commands, random
Опубликовано: Apr 12 2019, 9:53
Ответы: 1
Вид: 2365, сегодня: 1, неделю: 1, месяц: 19
0 0 0.0/5