I want my script to ask the user for a value, then tell the user to click on the gameguardian icon again when the value changes. Basically, I want it to wait for gameguardian to be clicked on to run the next line of code. Here is what I want in code form:
gg.clearResults()
gg.alert("Go to the helicopter and click on an order.")
local gold = gg.prompt({'How much gold does this helicopter order give?'}, nil, {'text'})
gg.searchNumber(hi, gg.TYPE_DWORD)
gg.alert("Delete this order and speed up the next one. Then click the gameguardian icon again.")
(CLOSEGAMEGUARDIANANDWAITFORCLICK)
local gold = gg.prompt({'How much gold does this helicopter order give?'}, nil, {'text'})
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
HorridModz
I want my script to ask the user for a value, then tell the user to click on the gameguardian icon again when the value changes. Basically, I want it to wait for gameguardian to be clicked on to run the next line of code. Here is what I want in code form:
gg.clearResults()
gg.alert("Go to the helicopter and click on an order.")
local gold = gg.prompt({'How much gold does this helicopter order give?'}, nil, {'text'})
gg.searchNumber(hi, gg.TYPE_DWORD)
gg.alert("Delete this order and speed up the next one. Then click the gameguardian icon again.")
(CLOSEGAMEGUARDIANANDWAITFORCLICK)
local gold = gg.prompt({'How much gold does this helicopter order give?'}, nil, {'text'})
gg.refineNumber(gold, gg.TYPE_DWORD)
gg.searchNumber(gold, gg.TYPE_DWORD)
("hi")
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.