Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 12/03/2018 in File Comments

  1. It's very bad way to spend your time and it may lead to mistakes. For example, mistake in function test1 in your script (same blocks of code). Here is an example of rewriting function test1 from your script using loops. Look how much time and amount of code could be saved. local function test1() local searchStringPart = '0.000000' for i = 7, 3, -1 do for j = 1, 9 do gg.searchNumber(searchStringPart .. j, gg.TYPE_FLOAT) gg.getResults(100000) gg.sleep(1000) gg.editAll(50, gg.TYPE_FLOAT) gg.sleep(1000) gg.editAll(searchStringPart .. j, gg.TYPE_FLOAT) gg.clearResults() end searchStringPart = searchStringPart:sub(1, i) end end
    1 point
×
×
  • 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.