sodaface Posted January 4, 2021 Share 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. Link to comment Share on other sites More sharing options...
sodaface Posted January 6, 2021 Author Share Posted January 6, 2021 Hello. Does gg.removeResults(t) Just remove results or revert them too ? Link to comment Share on other sites More sharing options...
CmP Posted January 6, 2021 Share 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. Link to comment Share on other sites More sharing options...
Farmeriscool Posted January 6, 2021 Share 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 Link to comment Share on other sites More sharing options...
sodaface Posted January 6, 2021 Author Share Posted January 6, 2021 Thanks. I must be doing something else wrong then. Link to comment Share on other sites More sharing options...
MonkeySAN Posted January 4, 2021 Share 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 Link to comment Share on other sites More sharing options...
sodaface Posted January 4, 2021 Author Share 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. Link to comment Share on other sites More sharing options...
sodaface Posted January 4, 2021 Author Share 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. Link to comment Share on other sites More sharing options...
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.
Link to comment
Share on other sites
7 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.