Jump to content
Sign in to follow this  
marken

help me please lua

Recommended Posts

gg.setRanges(gg.REGION_C_ALLOC | gg.REGION_ANONYMOUS | gg.REGION_BAD)
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

Share this post


Link to post
Share on other sites

Use lua loops.

Read about it in lua books, reference manual or google about it.

Share this post


Link to post
Share on other sites
1 hour ago, marken said:

gg.setRanges(gg.REGION_C_ALLOC | gg.REGION_ANONYMOUS | gg.REGION_BAD)
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

infinite() -- call your function

goto START --repeats till interrupt 

 

 

Share this post


Link to post
Share on other sites
2 hours ago, marken said:

gg.setRanges(gg.REGION_C_ALLOC | gg.REGION_ANONYMOUS | gg.REGION_BAD)
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 this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...