东道你自己的机器平台的 机器人自由企业平台机器人
Bot Libre Forum : random remembered

RE: random remembered

通过 admin 发布 Jan 1 2018, 8:33

There are three random functions in Self.

var choice = random("hello", "hi", "Hey");

var list = [ "hello", "hi", "hey" ];
var choice = list.random();

var object = new Object();
object.name =+ "Jon";
object.name =+ "Jonny";
var choice = object.random(#name);


Id: 20374769
发布: Jan 1 2018, 8:33
答复: 0
的风景: 2604, 今天: 3, 周: 4, 一个月: 5
0 0 0.0/5