Jump to content
  • 0

Help me script lua


g1doz

Question

Posted

hello guys

help about fix the problem please

i need to search this number group and save each one number in gg.addListItems by a function specified him

gg.searchNumber("3;5;7;13;16;33;30;5;9;40;3;3;;8;7;15;18;15;3;4;9;7;8;30;6;2;1;8;6;6;30;6:125", gg.TYPE_DWORD)

Is there an easy and fast way without doing a search every time means search once and then start to set each number to function and save it in gg.addListItems

i try this and don't works

gg.searchNumber("3;5;7;13;16;33;30;5;9;40;3;3;;8;7;15;18;15;3;4;9;7;8;30;6;2;1;8;6;6;30;6:125", gg.TYPE_DWORD)
local r = gg.getResults(32)
r[1] = gg.addListItems(a)

 thank you guys

3 answers to this question

Recommended Posts

Posted
3 minutes ago, Rs92ks said:

local r = gg.getResults(32)
gg.addListItems(r)

i need to save each one number in gg.addListItems  by a function specified him

for example this is group search "3;5;7;13;16;33;30;5;9;40;3;3;;8;7;15;18;15;3;4;9;7;8;30;6;2;1;8;6;6;30;6:125"

i need to save first number is "3" in a  function specified him and second number is "5" in another function and the third number ect....

Posted
41 minutes ago, Rs92ks said:

local r = gg.getResults(32)
gg.addListItems(r)

i test this and work thanks The reason why I did not understand you well thank you very much that you are really a wonderful person

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

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.