Hey would really love some help on this code. I'm trying to save the search results to different arrays but it's stop saving after the first search. The first array gets results but the second to fourth dont.
gg.searchNumber(data[1], gg.TYPE_FLOAT)
local t = gg.getResults(9)
gg.searchNumber(data[2], gg.TYPE_FLOAT)
local r = gg.getResults(6)
gg.searchNumber(data[3], gg.TYPE_FLOAT)
local c = gg.getResults(15)
gg.searchNumber(data[4], gg.TYPE_FLOAT)
local d = gg.getResults(6)
gg.searchNumber(data[5], gg.TYPE_FLOAT)
local s = gg.getResults(8)
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
Question
AstuteGamerdude
Hey would really love some help on this code. I'm trying to save the search results to different arrays but it's stop saving after the first search. The first array gets results but the second to fourth dont.
data = gg.prompt({
[1]='Search 1',
[2]='Search 2',
[3]='Search 3',
[4]='Search 4',
[5]='Search 5'}, {
[1]='7D;224~225;50;30;-28;2.3;15::',
[2]='35D;165~166;50;-30;2.0;20::',
[3]='40D;119~120;10;-30;2.0;30::',
[4]='65D;79~80;15;-50;2.3;17::',
[5]='30D;37~38;50;-9;2.5;19::'})
gg.searchNumber(data[1], gg.TYPE_FLOAT)
local t = gg.getResults(9)
gg.searchNumber(data[2], gg.TYPE_FLOAT)
local r = gg.getResults(6)
gg.searchNumber(data[3], gg.TYPE_FLOAT)
local c = gg.getResults(15)
gg.searchNumber(data[4], gg.TYPE_FLOAT)
local d = gg.getResults(6)
gg.searchNumber(data[5], gg.TYPE_FLOAT)
local s = gg.getResults(8)
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.