Jump to content
  • 0

The command : gg.prompt and gg.refineNumber


AnonymousFan
 Share

Question

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

Link to comment
Share on other sites

10 answers to this question

Recommended Posts

  • 0

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.

Link to comment
Share on other sites

  • 0
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

 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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