#### Archived

This topic is now archived and is closed to further replies.

## Recommended Posts

gg.processResume()
gg.searchNumber('523533590', gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
revert = gg.getResults(100, nil, nil, nil, nil, nil, nil, nil, nil)
gg.editAll('523533591', gg.TYPE_DWORD)

how do i repeat this process to an infinite

like gg.repeatAll 100x like that im a noob

Use lua loops.

##### Share on other sites
1 hour ago, marken said:

gg.processResume()
gg.searchNumber('523533590', gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
revert = gg.getResults(100, nil, nil, nil, nil, nil, nil, nil, nil)
gg.editAll('523533591', gg.TYPE_DWORD)

how do i repeat this process to an infinite

like gg.repeatAll 100x like that im a noob

Very basic Infinite repeat (will run till interrupt)

::START::

function infinite()

-- insert your code here e.g

gg.searchNumber('523533590',gg.TYPE_DWORD)

end

goto START --repeats till interrupt

##### Share on other sites
2 hours ago, marken said:

gg.processResume()
gg.searchNumber('523533590', gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
revert = gg.getResults(100, nil, nil, nil, nil, nil, nil, nil, nil)
gg.editAll('523533591', gg.TYPE_DWORD)

how do i repeat this process to an infinite

like gg.repeatAll 100x like that im a noob

You can use 'while' or 'repeat until'

##### Share on other sites
3 hours ago, marken said:

like gg.repeatAll 100x

If you need to repeat the code for a known amount of times, use numerical "for" loop.

Example:

```-- repeat 25 times
for i = 1, 25 do
-- the code to repeat here
end```

##### Share on other sites
1 hour ago, CmP said:

If you need to repeat the code for a known amount of times, use numerical "for" loop.

Example:

```
-- repeat 25 times
for i = 1, 25 do
-- the code to repeat here
end```

tnx for the references