Jump to content

Makeing a Variable


Recommended Posts

Really Hard To Explane...

is there a way in a script for it to make Variables on its own

like check a number and make Variables depending on it

so if number is 5 then make $v1 $v2 $v3 $v4 $v5 and also

$v1 = 1

$v2 = 2

$v3 = 3

$v4 = 4

$v5 = 5

kinda get it?

if not i will try to explane best i can

Sorry For Any Spelling / Grammar Errors I May Make.... I Failed English Wayyyy To Many Times..
Link to comment
Share on other sites

Yes this works but now i need to know how..

because the $Num might be 5 but the vlaue is random

any way to have that in an array?

Sorry For Any Spelling / Grammar Errors I May Make.... I Failed English Wayyyy To Many Times..
Link to comment
Share on other sites

Well im trying to make a mem scanner but so far its fail

#include <array.au3>
#include <Memory1.au3>
Global $N,$V,$Num,$It
$P = WinGetTitle("Warcraft")
$ProcessID = WinGetProcess($P)
$ProcessInformation = _MemoryOpen($ProcessID)
$Value = 5000
$Num = 0

while 1
    $V = Hex($N,8)
    $It = _MemoryRead("0x"&Hex($N,8), $ProcessInformation)
    If $It = $Value Then
        $V = Hex($N,8)
        $Num += 1
    Else
        $N += 1
    EndIf
    Dim $array[$Num + 1]
    $array[$Num] = $V
    ToolTip($It,1000,300)
WEnd

For Some Odd Reason $It Only = 0.. it never changes..

Sorry For Any Spelling / Grammar Errors I May Make.... I Failed English Wayyyy To Many Times..
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...