Jump to content
  • 0

The command : gg.prompt and gg.refineNumber


Question

Posted

Hello game guardian community. 

I tried to solve the problem myself, but I couldn't... 

I want my script to ask the user to enter a number to search for, make a change to the game (for example change the value of the coins, then dd.sleep) and that when he made the change, the script (of course after the gg.sleep) ask him to refine the value several times. 

Here I leave you an idea of what I would like to do. 

Prova prompt.lua

10 answers to this question

Recommended Posts

  • 0
Posted

I know how the dd.sleep command works, I need to figure out how to make the user search for a value and then refine it several times. 

  • 0
Posted

maybe something like this..



d = gg.prompt({"Input Current Number"},{0})
gg.searchNumber(d[1])
gg.getResults(200)
gg.alert("Now reduce the number by 1..you have 10 seconds")
gg.sleep(10000)

d = gg.prompt({"Input New Number"},{0})
gg.searchNumber(d[1])
gg.getResults(200)
gg.alert("Again reduce the number by 1..you have 10 seconds")
gg.sleep(10000)

d = gg.prompt({"Input New Number"},{0})
gg.searchNumber(d[1])
gg.getResults(200)
gg.alert("One last time reduce the number by 1..you have 10 seconds")
gg.sleep(10000)

d = gg.prompt({"Input New Number"},{0})
gg.searchNumber(d[1])
gg.getResults(200)
gg.editAll(1)
gg.alert("Now you have done")
gg.toast("Enjoy!!!")

pardon me...still learning too.

  • 0
Posted
On 7/15/2020 at 1:57 AM, MonkeySAN said:

maybe something like this..




d = gg.prompt({"Input Current Number"},{0})
gg.searchNumber(d[1])
gg.getResults(200)
gg.alert("Now reduce the number by 1..you have 10 seconds")
gg.sleep(10000)

d = gg.prompt({"Input New Number"},{0})
gg.searchNumber(d[1])
gg.getResults(200)
gg.alert("Again reduce the number by 1..you have 10 seconds")
gg.sleep(10000)

d = gg.prompt({"Input New Number"},{0})
gg.searchNumber(d[1])
gg.getResults(200)
gg.alert("One last time reduce the number by 1..you have 10 seconds")
gg.sleep(10000)

d = gg.prompt({"Input New Number"},{0})
gg.searchNumber(d[1])
gg.getResults(200)
gg.editAll(1)
gg.alert("Now you have done")
gg.toast("Enjoy!!!")

pardon me...still learning too.

Umm how about when you press the gg then the next prompt will go? Pleas

 

  • 0
Posted
4 hours ago, Begginer12345 said:

Umm how about when you press the gg then the next prompt will go? Pleas

 

what do you mean by next prompt will go when press the gg??

prompt need to appear to input something for next hack to run based on that input.

i really dont undertstand you.

  • 0
Posted (edited)
On 8/26/2020 at 8:04 PM, MonkeySAN said:

what do you mean by next prompt will go when press the gg??

prompt need to appear to input something for next hack to run based on that input.

i really dont undertstand you.

Sorry men heres the video

https://youtu.be/15InYVyhmbo

Edited by Begginer12345
  • 0
Posted

you the same guy @Unnamed1

what exactly you want to do is..

prompt(search value) --> hide(to do some refine) --> prompt(search refine value)--> then Edit.

im already gave the example.

  • 0
Posted (edited)
19 minutes ago, MonkeySAN said:

you the same guy @Unnamed1

what exactly you want to do is..

prompt(search value) --> hide(to do some refine) --> prompt(search refine value)--> then Edit.

im already gave the example.

Ummmm whus that?

Can you do this firts prompt search > hide 2nd prompt ( some refine ) > then 3rd prompt [' 1:150]',{0},{number})

I have issue becouse it pop up 2 of then while in video 1 pleas help how to to it only 1 seekbar to edit value

All > search value using prompt > refine value using prompt > edit value using seekbar

Can you help me?

Here you can tell on the video prompt prompt and seekbar

Video 

https://youtu.be/15InYVyhmbo

Edited by Begginer12345
I relly need your assist
  • 0
Posted
3 minutes ago, MonkeySAN said:

you the same guy @Unnamed1

what exactly you want to do is..

prompt(search value) --> hide(to do some refine) --> prompt(search refine value)--> then Edit.

im already gave the example.

I just found that on YouTube?

 

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
×
×
  • 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.