- 0
How to group values to edit in a search?
-
Similar Content
-
- 3 answers
- 1,077 views
-
- 4 answers
- 679 views
-
- 2 answers
- 642 views
-
How to 'os.exit' it, while someone peek at searching value, when gg are searching values? 1 2
By nio04,
- 23 answers
- 8,278 views
-
- 2 answers
- 605 views
-
Question
ThienTeakee
Hi guys, I'm new at GG
I have a script like this
I want to change "1.014.350.479" to "1.011.011.011" and "1.050.253.722;1.031.127.695" to "1". Because I only know how to edit all of them with "editAll()", not know how to group them like this.
Thanks for your help
Top Posters For This Question
12
8
7
5
Popular Days
Feb 17
36
Top Posters For This Question
Enyby 12 posts
ThienTeakee 8 posts
zam535582 7 posts
ItsSC 5 posts
Popular Days
Feb 17 2020
36 posts
Popular Posts
Enyby
Strictly speaking fastest is reuse results table: local results = gg.getResults(5000) for i, v in ipairs(results) do if v.value == 1014350479 then v.value = 1011011011 elseif v.value == 10
Enyby
Dot decimal separator. So '1.014.350.479' is not a valid number. For change one value from group search need do refine search and editAll after that. Or load all values and work with it in l
Enyby
this line erase element from table. So setValues do not re-set values and we avoid possibility erase changed value with old one. Also this operation really fast if run on list table (array-like t
35 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now