sodaface Posted January 4, 2021 Posted January 4, 2021 Hello. Please be gentle with me I'm trying to write a script. For the script i need the user to enter one value from the game, lets call it X From there i want to search for that value like this x;x;0;x;x::21 d word type only ..... Can someone point me in the direction of help? There is a bunch of other stuff in the script...i just cant figure out this. Thanks in advance.
sodaface Posted January 6, 2021 Author Posted January 6, 2021 Hello. Does gg.removeResults(t) Just remove results or revert them too ?
CmP Posted January 6, 2021 Posted January 6, 2021 14 hours ago, sodaface said: Does gg.removeResults(t) Just remove results or revert them too ? The description of the function from GG API documentation: Quote Remove results from the list of results found. So it just removes them as nothing about reverting is specified.
Farmeriscool Posted January 6, 2021 Posted January 6, 2021 16 hours ago, sodaface said: Hello. Does gg.removeResults(t) Just remove results or revert them too ? gg.clearResults() That removes all the searched results
sodaface Posted January 6, 2021 Author Posted January 6, 2021 Thanks. I must be doing something else wrong then.
MonkeySAN Posted January 4, 2021 Posted January 4, 2021 local x = gg.prompt({"Input number"},{0}) gg.searchNumber(x[1]..';'..x[1]..';0;'..x[1]..';'..x[1]..'::21', 4)-- 4 is gg.TYPE_DWORD
sodaface Posted January 4, 2021 Author Posted January 4, 2021 Oh my god. Thank you very much. Thank you. My actual area of expertise is cooking. So if You ever need any tips Thanks again.
sodaface Posted January 4, 2021 Author Posted January 4, 2021 2 hours ago, MonkeySAN said: local x = gg.prompt({"Input number"},{0}) gg.searchNumber(x[1]..';'..x[1]..';0;'..x[1]..';'..x[1]..'::21', 4)-- 4 is gg.TYPE_DWORD Just used it in my script and worked perfectly. Thank you again.
Question
sodaface
Hello.
Please be gentle with me
I'm trying to write a script.
For the script i need the user to enter one value from the game, lets call it X
From there i want to search for that value like this x;x;0;x;x::21 d word type only
.....
Can someone point me in the direction of help?
There is a bunch of other stuff in the script...i just cant figure out this.
Thanks in advance.
7 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.