5G_Controller Posted November 21, 2019 Posted November 21, 2019 I have the code prompt = gg.prompt({"infor1","infor2"},nil,{"number","number"}) I do a searchNumber for 'infor1' and modify it to 'infor2' after i launched the script, how could I save the numbers that I put in 'infor1' and 'infor2' in the prompt? Tks
Administrators Enyby Posted November 21, 2019 Administrators Posted November 21, 2019 Use table if you need store only until scripts run. Use file with gg.saveVariable if you need persistent storage.
5G_Controller Posted November 21, 2019 Author Posted November 21, 2019 9 hours ago, Enyby said: Use table if you need store only until scripts run. Use file with gg.saveVariable if you need persistent storage. Tks reply Pls help me with an example LUA script for gg.saveVariable
Administrators Enyby Posted November 21, 2019 Administrators Posted November 21, 2019 Maybe you try read API help and use examples from there?
Question
5G_Controller
I have the code
prompt = gg.prompt({"infor1","infor2"},nil,{"number","number"})
I do a searchNumber for 'infor1' and modify it to 'infor2'
after i launched the script, how could I save the numbers that I put in 'infor1' and 'infor2' in the prompt?
Tks
3 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.