Jump to content
  • 0

how to clear a specific number of results in script


animehack

Question

Posted

so like I about gg.clearResults() but that clears all the results how can I clear like 500 for example? can I just do gg.clearResults("500")? or am I just being stupid?

3 answers to this question

Recommended Posts

Posted

Or you can do this as vice versa. (Take other than first 500 results)

t = gg.getResults(gg.getResultsCount()-500,500)
--gg.getResultsCount()-500 for example total results are 1000, 1000 - 500, you get another 500 results.
-- 500, start from the 501th result. (0 is starting point, 1 = 2, 2 = 3)

 

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.