Jump to content

Help understanding the LUA script


japeyk

Recommended Posts

can someone help me out understanding the script and explain its part?

for example:


gg.searchNumber('2;3D;2.25::200', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.searchNumber('2;3D;2.25', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(100)
gg.editAll('9', gg.TYPE_FLOAT)

 

i understand that gameguardian will be searching for 2;3D;2.25  as a float since it was stated as gg.TYPE_FLOAT  but what is :200 on the line because it was separated by :: colon and not by comma? what is the the purpose of false and what is gg.SIGN_EQUAL, 0, -1 purpose on my searched float?

if i found 200 results only 100 will get to be chosen because of gg.getResults(100)?

i know gg.editAll('9', gg.TYPE_FLOAT) it will just replace all the searched values by 9.

 

 

Link to comment
Share on other sites

  • Administrators
12 minutes ago, japeyk said:

but what is :200 on the line because it was separated by :: colon and not by comma?

Try read help inside the app about group search.

12 minutes ago, japeyk said:

what is the the purpose of false and what is gg.SIGN_EQUAL, 0, -1 purpose on my searched float?

Try read help about gg.searchNumber in API help: https://gameguardian.net/help/

13 minutes ago, japeyk said:

if i found 200 results only 100 will get to be chosen because of gg.getResults(100)?

Yes. Read API help about gg.getResults.

13 minutes ago, japeyk said:

i know gg.editAll('9', gg.TYPE_FLOAT) it will just replace all the searched values by 9.

Not all. All loaded. Read API help about gg.editAll.

Link to comment
Share on other sites

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.