Xoklys Posted October 2, 2019 Share Posted October 2, 2019 I got my results, added them to the save list and now I want to edit them all. I typed in: gg.getListItems(a) gg.editAll('1',gg.TYPE_DWORD) Link to comment Share on other sites More sharing options...
Saphipro Posted October 11, 2019 Share Posted October 11, 2019 On 10/2/2019 at 9:12 PM, Xoklys said: I got my results, added them to the save list and now I want to edit them all. I typed in: gg.getListItems(a) gg.editAll('1',gg.TYPE_DWORD) t = gg.getListItems() gg.loadResults(t) gg.getResults(5000) gg.editAll('1',gg.TYPE_DWORD) or t = gg.getListItems() for i,v in ipairs(t) do t[ i ].value = 1 end gg.setValues(t) Link to comment Share on other sites More sharing options...
Administrators Enyby Posted October 2, 2019 Administrators Share Posted October 2, 2019 Or load as search results and editAll, or load all items to table, in loop set new value, and use setValues with this table. Link to comment Share on other sites More sharing options...
Xoklys Posted October 2, 2019 Author Share Posted October 2, 2019 Ok but sry I don't know much about this command could you send me code pls? Link to comment Share on other sites More sharing options...
Administrators Enyby Posted October 2, 2019 Administrators Share Posted October 2, 2019 I don’t have time to write code for everyone. Read the API, learn for yourself. Or wait until someone writes. Link to comment Share on other sites More sharing options...
Xoklys Posted October 2, 2019 Author Share Posted October 2, 2019 Ohh ok I understand Anyway thanks! You're the BEST Link to comment Share on other sites More sharing options...
zam535582 Posted October 2, 2019 Share Posted October 2, 2019 you can just simply use the record script function in GG to search,edit and save the codes...or make it yourself as simple as this :- gg.searchNumber (100, gg.TYPE_FLOAT) local t = gg.getResults (100) gg.editAll (999999, gg.TYPE_FLOAT) gg.addListItems(t) gg.clearResults () if you manually search the codes...you just select all...and edit. no need script to edit. Link to comment Share on other sites More sharing options...
Question
Xoklys
I got my results, added them to the save list and now I want to edit them all.
I typed in:
gg.getListItems(a)
gg.editAll('1',gg.TYPE_DWORD)
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.