Im trying to make a script that has 4 options, the first one changes double 0.10 to 10/
second option to change double 2.5 to negative 10/ and 3rd option change double 0.5 to 5 and finally the last one to exit the script,
Im new to scripting I would really appreciate it if anyone could help me out or give me an example script to look at.
:start:
menu == gg.choice ({Hack1,exit})
if menu == 1 then goto OK1 end
if menu == 2 then goto OK2 end
if menu == 3 then goto OK3 end
if menu == 4 then goto done end
if menu == nil then goto done end
:OK1:
gg.clearResults()
gg.searchNumber(0.10, gg.TYPE_DOUBLE)
gg.getResults(20)
gg.editAll(10, gg.TYPE_DOUBLE)
gg.clearResults()
:OK2:
gg.clearResults()
gg.searchNumber(2.5, gg.TYPE_DOUBLE)
gg.getResults(22)
gg.editAll(-10, gg.TYPE_DOUBLE)
gg.clearResults()
:OK3:
gg.clearResults()
gg.searchNumber(0.5, gg.TYPE_DOUBLE)
gg.getResults(18)
gg.editAll(5, gg.TYPE_DOUBLE)
gg.clearResults()
:done:
os.exit()
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
Ziciphy
Test
Test
1 answer to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.