Jump to content
  • 0

Help With Script


Pyxe

Question

3 answers to this question

Recommended Posts

"Use config file on disk near your script. If in config present some flag - do not show alert." by EnyBY

exemple: Saving input between script restarts

local configFile = gg.getFile()..'.cfg'
local data = loadfile(configFile)
if data ~= nil then data = data() end
local input = gg.prompt({'Please input something'}, data)
if input == nil then os.exit() end
gg.saveVariable(input, configFile)

there was already a similar post, the solution was based on it above

Link to comment
Share on other sites

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.