Jump to content
  • 0

Seek bar but TYPE_WORD help


Pheonix_0
 Share

Question

Result = gg.prompt({"(By Pheonix)\nSelect size:[1; 9999]"},{4999.5},{"number"})
if Result[1] then work() end
UI =-1
end


--
function work()
gg.clearResults()
gg.searchNumber(";75%", gg.TYPE_WORD)
gg.getResults(9999)
gg.editAll(";00%", gg.TYPE_WORD)
gg.clearResults()
gg.toast("🌘")
gg.searchNumber(";3.5m", gg.TYPE_WORD)
gg.toast("🌖")
gg.getResults(9999)
gg.editAll(Result[1], gg.TYPE_WORD)
gg.clearResults()
gg.searchNumber(";4 seconds", gg.TYPE_WORD)
gg.getResults(9999)
gg.editAll(";9999999999", gg.TYPE_WORD)
gg.toast("🌗")
gg.clearResults()
gg.toast("🌕")
 

when gg.editAll("Result[1], gg.TYPE_WORD), the hack failed because number picked from seek bar didnt have " ; " before the number, how can i make it work?

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0
  • Moderators
3 hours ago, Pheonix_0 said:

when gg.editAll("Result[1], gg.TYPE_WORD), the hack failed because number picked from seek bar didnt have " ; " before the number, how can i make it work?

What about concatenate?

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

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.