Jump to content
  • 0

Editing values in SavedList


Pasaii

Question

hi gg team, how can i get back my SearchResults in SavedList into SearchResultsList or editing value in SavedList using lua script, i tried it like this but it didn't work..

 

function CheatON()

 

gg.setRanges(gg.REGION_ANONYMOUS)

 

gg.searchNumber('A', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)

 

t = gg.getResults(9)

 

for i, v in ipairs(t) do

 

t.value = 'Z'

 

end

 

gg.addListItems(t)

 

gg.clearResults()

 

end

 

 

 

the data/value have been saved in SavedList, sometime i need edit results, so i try this to load the results back in search results list

 

function CheatOFF()

 

t = gg.getListItems()

 

gg.loadResults(t)

 

gg.getResults(9)

 

gg.editAll('A', gg.TYPE_FLOAT)

 

gg.clearResults()

 

end

but it did't work..

please help n sorry about my bad english..

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.

×
×
  • 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.