Jump to content
MilkyGT

REVERT

Recommended Posts

gg.searchNumber(82, gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)

revert = gg.getListItems
local t = gg.getResults(1)
gg.addListItems(t)
gg.clearResults()

for i, v in ipairs(t) do
	v.flags = gg.TYPE_DWORD 
		v.value = "1"
	end
	gg.setValues(t)


gg.sleep('2000')
gg.setValues(revert)

	

Anyone know how to revert this? (revert on save list) after i edit the value and i want to revert but there have problem, any solution for this? 

Share this post


Link to post
Share on other sites

1 hour ago, MilkyGT said:

revert = gg.getListItems

You do not call function. You need "()" at the end.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...