- 0
Lua script
-
Similar Content
-
- 623 replies
- 645,574 views
-
- 3 replies
- 2,713 views
-
Genshin Lua Unlimited Damage Lua Script
By Kenny07264,
- Critical Dps
- Pickup Area Upgrade
- (and 3 more)
- 5 replies
- 12,196 views
-
- 0 replies
- 823 views
-
- 0 comments
- 3,647 views
-
Question
LowKee
Hi all.
I'm trying to write a script to search for a group of numbers and edit them, I've spent most of the day looking at the commands and trying them out but I'm not having much luck.
gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber('1053;45;897;702;1053', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1) h = gg.getResultCount() if gg.getResultCount() then gg.getResults(1) gg.editAll('9999999', gg.TYPE_FLOAT) goto endall else gg.toast(h) gg.alert('Too many values found, go ingame and change the value, then tap on gameguardian icon again to continue') end
I grabbed a few scripts from the site and have been changing them around to do what I need them to do. As I am working from someones elses script theres a few bits I'm not sure how to change, mainly the getResultCount. The orignal had ==1 which I beleive means, if theres 1 result then Getresults. As there was more than 1 result I took that part out but I'm not sure if thats stopped it from working.
Link to comment
Share on other sites
20 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