텔레그램 id @sosto1 연락주세요.기능1.
유튜브 라이브 스트림 동시시청자봇,라이브 조회수봇. 쇼츠 조회수 1개링크에 1000000조회수 늘리기 기능이 필요합니다
당신이 나에게 꼭 필요합니다 .10년동안 나와 계약 합시다.
I think i found a bug
-
I was using javascript function to generate random numbers(i know there is function in bas already, came to know it later) :
lets say i set, max_variable = 100 AND min_variable = 90 , so random numbers results should be from 90-100 but the results are generating from 0 to 100syntax of javascript function:
Math.floor(Math.random()*(max_variable-min_variable+1)+min_variable);
so the random numbers are genrated from 0 to 100when i put the value of min_variable at the last part of javascript function manually it works perfectly, so it means that BAS is not able to put value of min_variable(in BOLD) -->> Math.floor(Math.random()*(max_variable-min_variable+1)+min_variable);
-
Update: i was reading the integer numbers from a text file and BAS was reading it as string so i think that is the problem, so if any math operations are performed it is creating problems? can you please tell me how to convert string to integer or i am doing something wrong? @support
-
@support thank you for the fix but i have about 10 variables which is read through file, although they are integers, i need to convert them to integers using javascript parseInt([[VARIABLE]]) function, and similar problem occurs when int type is used with database by importing csv file. It will be awesome if you add a new function which converts string numbers to integers numbers in bulk so we don't need to convert them one by one, it will be easy for beginners also :)