Jump to content
Sign in to follow this  
koml

Replace script of GroupedScan

Recommended Posts

Posted (edited)

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')

 

Edited by koml

Share this post


Link to post
Share on other sites

You can use notation like "66h; 0Fh; 7Eh; 4Ah; 00h; E9h; 6Ch; A6h; 00h; 00h" for editAll.

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
Sign in to follow this  

×
×
  • Create New...