Jump to content
OraOraOra

How to write command

Recommended Posts

I need help

Example i search value : 1;2;3;4::14

value show : 1;2;3;4

i want to edit :

1 to 10, 2 to 20, 3 to 30, 4 to 40. simultaneously

How i write command in the script?

Share this post


Link to post
Share on other sites

Posted (edited)
55 minutes ago, OraOraOra said:

I need help

Example i search value : 1;2;3;4::14

value show : 1;2;3;4

i want to edit :

1 to 10, 2 to 20, 3 to 30, 4 to 40. simultaneously

How i write command in the script?

a = gg.searchNumber("1;2;3;4::14", gg.TYPE_DWORD)
a = gg.getResults(gg.getResultsCount())
b = gg.refineNumber("1", gg.TYPE_DOWRD)
gg.getResults(gg.getResultsCount())
gg.editAll(10, gg.TYPE_DWORD)
gg.clearResults()
gg.loadResults(a)
b = gg.refineNumber("2", gg.TYPE_DOWRD)
gg.getResults(gg.getResultsCount())
gg.editAll(20, gg.TYPE_DWORD)
gg.clearResults()
gg.loadResults(a)
b = gg.refineNumber("3", gg.TYPE_DOWRD)
gg.getResults(gg.getResultsCount())
gg.editAll(30, gg.TYPE_DWORD)
gg.clearResults()
gg.loadResults(a)
b = gg.refineNumber("4", gg.TYPE_DOWRD)
gg.getResults(gg.getResultsCount())
gg.editAll(40, gg.TYPE_DWORD)
gg.clearResults()
 

Edited by HEROGAMEOfficial

Share this post


Link to post
Share on other sites
1 hour ago, OraOraOra said:

I need help

Example i search value : 1;2;3;4::14

value show : 1;2;3;4

i want to edit :

1 to 10, 2 to 20, 3 to 30, 4 to 40. simultaneously

How i write command in the script?

gg.searchNumber("1;2;3;4::14", 4)
local t = gg.getResults(10)

for i,v in ipairs(t) do
      local value = v.value
      if value == 1 then
         v.flags = 4
         v.value = 10
      end    
      if value == 2 then
         v.flags = 4
         v.value = 20
      end
      if value == 3 then 
         v.flags = 4
         v.value = 30
      end

       if value == 4 then 

            v.flags = 4

            v.value = 40
end

Share this post


Link to post
Share on other sites
10 minutes ago, El_dorado said:

gg.searchNumber("1;2;3;4::14", 4)
local t = gg.getResults(10)

for i,v in ipairs(t) do
      local value = v.value
      if value == 1 then
         v.flags = 4
         v.value = 10
      end    
      if value == 2 then
         v.flags = 4
         v.value = 20
      end
      if value == 3 then 
         v.flags = 4
         v.value = 30
      end

       if value == 4 then 

            v.flags = 4

            v.value = 40
end

Use pairs instead of ipairs.

Share this post


Link to post
Share on other sites
5 minutes ago, ItsSC said:

Use pairs instead of ipairs.

Alright boss

 

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

  • Similar Content

    • By OraOraOra
      Help me command in the script. I use editall/ ipair not work. Someone can help me to command script. This is in addlist memory.

    • By Brilliant_Azure
      View File PUBG MOBILE 0.18.0 ANTIBAN SAFE VIP SCRIPT
       ⭕ PUBG MOBILE 0.18.0 SAFE SCRIPT ⭕
       FEATURES OF SCRIPT
      ☑️. ALL NEW & UPDATED  CODES FOR 0.18.0 PUBG UPDATE
      ☑️.SUPPORT ALL TYPE OF PROCESSORS
      ☑️.SUPPORT BOTH ROOTED AND NON-ROOTED DEVICES
      ☑️.ALL CODES ARE 100% CHECKED AND  SAFE
      ☑️.SIMPLE UI AND NO PASSWORD
      ♻️ FOR MORE FREE & WORKING PUBG HACKS JOIN 
       
      HOW TO HACK PUBG 0.18.0 TUTORIAL :- 
       
       
       
      Submitter Brilliant_Azure Submitted 10/29/2019 Category PUBG  
    • By Brilliant_Azure
      ⭕ PUBG MOBILE 0.18.0 SAFE SCRIPT ⭕
       FEATURES OF SCRIPT
      ☑️. ALL NEW & UPDATED  CODES FOR 0.18.0 PUBG UPDATE
      ☑️.SUPPORT ALL TYPE OF PROCESSORS
      ☑️.SUPPORT BOTH ROOTED AND NON-ROOTED DEVICES
      ☑️.ALL CODES ARE 100% CHECKED AND  SAFE
      ☑️.SIMPLE UI AND NO PASSWORD
      ♻️ FOR MORE FREE & WORKING PUBG HACKS JOIN 
       
      HOW TO HACK PUBG 0.18.0 TUTORIAL :- 
       
       
       
    • By Mohammad2687
      Hi everyone 👋
      I just want to ask if there's a script file to hack Manor Matters game! If there's not can I hack it manually?
    • By ClumhaxGT
      What Is The Code To Revert All The Selected Values?
×
×
  • Create New...