better code that works in the latest versions of the BAS without problems:
_sa = function (id){
log(id)
ScriptWorker.SetCurrentAction(id)
}
to stop logging :
_sa = function (id){ }
@Symposium Почти слово в слово..
https://community.bablosoft.com/topic/6068/как-создать-большой-список-без-ресурса/
@symposium В бас есть встроенный метод rand ^) Тоесть можно было просто arr[rand(0,arr.length-1)] . Кстати length-1 обратите внимание