-
Similar Content
-
- 2 answers
- 615 views
-
- 2 answers
- 1,187 views
-
- 15 answers
- 3,777 views
-
- 4 answers
- 1,199 views
-
- 2 answers
- 1,381 views
-
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.
Question
_yourram
I asked this question casually, I just wanna know whether this is possible or not and if it is possible then "how"?
If you still don't understand what I mean, here's the video link↓
https://drive.google.com/file/d/1-kb0YmzsvWlGW2tTVspOPLhRH-5vPNIz/view?usp=drivesdk
function Ram()
choices = gg.choice({"Prepare cost","Engery cost","Water cost","Script end"})
prepares(choices)
end
function prepares(choices)
if choices == 1 then
-------------Flying cost--------------------
gg.searchNumber( "-8.0004e10",16)
gg.refineNumber(' -8.0004e10',16)
Fly = gg.getResults(gg.getResultsCount())
gg.addListItems(Fly)
gg.clearResults()
-------------Energy cost--------------------
gg.searchNumber('55;53', 16)
gg.refineNumber('53', 16)
Energy = gg.getResults(gg.getResultsCount())
gg.clearResults()
-------------Water cost--------------------
gg.clearResults()
gg.searchNumber("7018090782024269824", 32)
gg.refineNumber("7018090782024269824", 32)
Water = gg.getResults(gg.getResultsCount())
gg.clearResults()
elseif choices == 2 then
gg.loadResults(Water)
gg.getResults(1000)
gg.editAll("7018090361117474816", 32)
gg.loadResults(Energy)
gg.getResults(1000)
gg.editAll('25', 16)
gg.clearResults()
gg.loadResults(Fly)
gg.editAll('0', 16)
gg.clearResults()
elseif choices == 3 then
gg.loadResults(Fly)
gg.editAll(' -8.0004e10', 16)
gg.clearResults()
gg.loadResults(Energy)
gg.getResults(1000)
gg.editAll('53', 16)
gg.clearResults()
gg.loadResults(Water)
gg.getResults(1000)
gg.editAll("7018090782024269824", 32)
gg.clearResults()
elseif choices == 4 then
os.exit()
end
end
while gg.isVisible(true) do
gg.setVisible(false)
Ram()
end
---
Edited by _yourram3 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now