Jump to content
jetzgt

Pls help with gg.prompt

Recommended Posts

How to fix this?

local d = gg.prompt({M='input value'},nil,{'number'})
if val == nil then
gg.toast('Nothing Selected')
end
gg.getResults(1710)
gg.editAll(d[1],gg.TYPE_DWORD)
gg.toast('Done')
gg.setVisible(false)
end

Share this post


Link to post
Share on other sites

16 minutes ago, jetzgt said:

How to fix this?

local d = gg.prompt({M='input value'},nil,{'number'})
if val == nil then
gg.toast('Nothing Selected')
end
gg.getResults(1710)
gg.editAll(d[1],gg.TYPE_DWORD)
gg.toast('Done')
gg.setVisible(false)
end

gg.editAll(d.M,gg.TYPE_DWORD)

 

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