Jump to content
  • 0

Help With Script


Pyxe

Question

Posted

Any examples of these would be nice

1.) How to make gg.alert disappear after its already showed once 

2.) How to make script detect package name (like com.gameinsight.gob)

 @Enyby @Lenn1 @ForbiddenSaga @CmP

(I always tag you guys cuz you guys always help me alot)

3 answers to this question

Recommended Posts

Posted

Oh and 3.) How would i make a gg.prompt that changes a hack with the number inputed

Posted

"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

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.