- 0
Help for gg prompt searching:"
-
Similar Content
-
- 3 answers
- 1,544 views
-
- 25 answers
- 3,703 views
-
- 11 answers
- 16,505 views
-
- 3 answers
- 1,084 views
-
- 1 answer
- 1,039 views
-
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.
Question
CandraY
x= gg.prompt({[2]='Enter Value'}, {[1]='1;3;2;', [2]='22', [3]=',000~', [4]=',999;0::45'})
gg.searchNumber(x[1]x[2]x[3]x[2]x[4], gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
found = gg.getResultCount()
gg.alert('We found: '..found)
Hi guys, please help for make it.
Where is my fault?
Final patten for search is:
1;3;2;22,000~22,999;0::70
In every search i just want to change two fisrt number of 22,000~22,999.
in gg.promp line i just wrote [2]= 'Enter Value' b'cuz it's variable.
I got this error:
Script ended:
Script error: org.luaj.vm2.LuaError: @/sdcard/Notes/tttttt.lua:2
`gg.searchNumber(x[2],x[1], gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)`
bad argument #3 (number): boolean expected, got number
14 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now