Hi, I've been trying to get this script to work but I have no luck. It's quite a simple script although I don't know why it isn't working. All I want to do is add 10 to the the values I already have in my results. I recorded it aswell but no luck.
-- Script generated by GameGuardian 99.0 (16126) at 2020-12-14 14:09:52 for Nova Launcher [com.teslacoilsw.launcher 6.2.18 (62018)]-- Lua help: http://gameguardian.net/help/-- optionslocal scriptName =[=====[Script for Nova Launcher 6.2.18]=====]local scriptVersion ='1.0.0'local scriptAuthor ='User'local startToast =''-- 0 - no check; 1 - check package only, 2 - check package and buildlocal checkTarget =0local targetName =[=====[Nova Launcher]=====]local targetPkg ='com.teslacoilsw.launcher'local targetVersion =[=====[6.2.18]=====]local targetBuild =62018-- functions-- init
gg.require('99.0',16126)if startToast ~=''then startToast ='\n'..startToast end
gg.toast(scriptName..' v'..scriptVersion..' by '..scriptAuthor..startToast)if checkTarget ~=0thenlocal info = gg.getTargetInfo()local check =falselocal current =falseif checkTarget >=1then
check = targetPkg
current = info.packageName
endif checkTarget >=2then
check = check..' '..targetVersion..' ('..targetBuild..')'
current = current..' '..info.versionName..' ('..info.versionCode..')'endif check ~= current then
gg.alert('This script for "'..targetName..'" ['..check..'].\nYou select "'..info.label..'" ['..current..'].\nNow script exit.')
os.exit()endendlocal revert =nil-- main code
revert = gg.getResults(100000,nil,nil,nil,nil,nil,nil,nil,nil)local t = gg.getResults(100000,nil,nil,nil,nil,nil,nil,nil,nil)for i, v in ipairs(t)doif v.flags == gg.TYPE_FLOAT |1073741824then
v.value = v.value +"10"endend
gg.addListItems(t)
t =nil
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
David1484
Hi, I've been trying to get this script to work but I have no luck. It's quite a simple script although I don't know why it isn't working. All I want to do is add 10 to the the values I already have in my results. I recorded it aswell but no luck.
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.