Jump to content
  • 0

Save the declared numbers in prompt


5G_Controller

Question

Posted

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

Posted
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

 

Archived

This topic is now archived and is closed to further replies.

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