I dont know whats wrong with this code. It seems like gg.SerachFuzzy doesnt search the result from gg.searchNumber.
data = gg.prompt({[1]='Search value'}, {[1]='1000'})
gg.searchNumber(data[1], gg.TYPE_DOUBLE, false, gg.SIGN_EQUAL, 0, -1)
local t = gg.getResults(100)
gg.alert ('Change HP')
gg.setVisible(false)
--HP Decreased--
--Open GG Icon--
gg.searchFuzzy('0', gg.SIGN_FUZZY_LESS)
--Filter the value so it doesnot keep negative value--
gg.searchNumber('1~1000', gg.TYPE_DOUBLE)
--Edit then Freeze Value which has been decreased--
t = gg.getResults(20)
t[1].value = '1000'
t[1].freeze = true
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
M3ak
I dont know whats wrong with this code. It seems like gg.SerachFuzzy doesnt search the result from gg.searchNumber.
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.