Almost finished, running without errors, BUT gives me wrong results! Alert show me the correct value (dWord) of the memory address, but I want this notification only for numbers bigger than 200000! Can you help help Enyby? I promise will be the last one! Apparently, a random value, different from the address value, has been used to compare with 200000, because sometimes alert pop-up and sometimes no, for values under 200000. I've tried to change 200000 by lesser values, but alert pops-up at wrong time too. Thanks for your help!
The script:
::x::
local o = {}
o[1] = {}
o[1].address = 0xC137DCA4 -- first address
o[1].flags = gg.TYPE_DWORD
o = gg.getValues (o)
if (o[1].value) > "200000"
then gg.alert('bonus found!', o[1].value)
end
else goto x
end