Jump to content
Enyby

LUA scripting

Recommended Posts

i need unban script please show me or let me copoy

am new to this app

Share this post


Link to post
Share on other sites

 how can i make lua script for banned account ?

Share this post


Link to post
Share on other sites

Hi, I've others doubt.

1.It's possible check true all items in multiChoice option?

2.It's possible that the user can choose, example; the quantity of money  to later to modify a value by that quantity  in question like prompt option works?

Share this post


Link to post
Share on other sites

1. No. But you can add special item with this meaning. If user check it - act like he check all items. name this options as "check all" or similar.

2. I do not understand what you talking about.

You can use any data from previous prompt. For build another prompt, Or for search. As text or as number. All up to you.

Share this post


Link to post
Share on other sites
local s = (8FFEh - value) ^ value) .. ';' .. value .. '::9'
gg.searchNumber (s, gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)

I'm trying to find values by this sample script but dont clearly understand how to send as input "next" value.

Example: I must find 2 dwords, 8FFE, 0x999

Lets name it A and B

8FFE calculated by formula y = (A xor B) + B, y = (0x8FFE xor 0x999) + 0x999 = 9000

So, before searching process I only know that decrypted value is 9000. Reversed formula y = (A - B) xor B. Xor values is unpredictable

How to do valid search with that criteria? Any hint would be great

Share this post


Link to post
Share on other sites

gg.clearResults()

For delete all results, how about command save results?

Edited by BlackTrack_ID

Share this post


Link to post
Share on other sites
54 minutes ago, BlackTrack_ID said:

gg.clearResults()

For delete all results, how about command save results?

Save result 

gg.addListItems()

Delete saved result

gg.removeListItems()

Save result by variable

T1= gg.getResults()

deleted saved result from a variable

T1= nil

Share this post


Link to post
Share on other sites

@Enyby how to use this

if dialog canceled - 0, else: 1 for positive, 2 for negative, 3 for neutral buttons.

Examples:

gg.alert('Script ended')

-- Show alert with single 'ok' button

gg.alert('Script ended', 'Yes')

-- Show alert with single 'Yes' button

gg.alert('A or B?', 'A', 'B')

-- Show alert with two buttons

gg.alert('A or C?', 'A', nil, 'C')

-- Show alert with two buttons

gg.alert('A or B or C?', 'A', 'B', 'C')

-- Show alert with three buttons

i cant fully understand with negative positive and neutral

Share this post


Link to post
Share on other sites

This is from Android. Android has a positive button, a negative button and a neutral one.
They are always located at certain places in the interface.
Try, test and see.
Pay attention to the name of the method parameters.

Share this post


Link to post
Share on other sites
3 minutes ago, Enyby said:

This is from Android. Android has a positive button, a negative button and a neutral one.
They are always located at certain places in the interface.
Try, test and see.
Pay attention to the name of the method parameters.

Sir HoW can i write it?

gg.alert('Granger',  'Go',   'Back')

where to put 1-Positive

                        2-negative

                       3-neutral?

Share this post


Link to post
Share on other sites

Try read API help.

Especially parameters descriptions.

scr_1569609123.png

Share this post


Link to post
Share on other sites
9 minutes ago, Enyby said:

Try read API help.

Especially parameters descriptions.

scr_1569609123.png

@Enyby here How can I make It Negative Or the Back Will Go back And Ok will go straight?

 

lol.lua

Edited by Granger

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