- 0
Lua script
-
Similar Content
-
- 623 replies
- 685,655 views
-
- 0 comments
- 1,708 views
-
- 0 replies
- 759 views
-
- 0 comments
- 4,688 views
-
- 7 replies
- 15,853 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
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.
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