Jump to content
  • 0

Replace script of GroupedScan


koml

Question

Hello, i have a question. How i can make script, with grouped scan. I want to replace this: "66h; 0Fh; 7Eh; 4Ah; 00h; E9h; 6Ch; A6h; 00h; 00h", for this "C7 02 00 00 48 43 90 90 90 90" with script. 

script:

Spoiler

gg.toast('Racing Fever')
print('Racing Fever') 


if gg.isVisible(true) then 
   gg.setVisible(false) 
   end 
gg.clearResults()
goto START
::START::

menu = gg.choice({'speedhack','EXIT'},nil,'select whatever you want')

if menu == 1 then goto speedh end
if menu == nil then print('error') end
goto noselect

::speedh::
gg.clearResults()
gg.searchNumber("66h;0Fh;7Eh;4Ah;00h;E9h;6Ch;A6h;00h;00h::10", gg.TYPE_BYTE, false, gg.SIGN_EQUAL, 0, -1)
gg.getResults(10)
--what i need to write here for replace?
goto sdone


::sdone::
print('its the first time')
gg.toast('loaded')
os.exit()

::noselect::
print('you not select anything')

 

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.

×
×
  • Create New...

Important Information

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.