View previous topic :: View next topic |
Author |
Message |
LalzDS Newbie cheater
Reputation: 0
Joined: 17 Sep 2013 Posts: 11
|
Posted: Sun Feb 26, 2017 7:22 am Post subject: Support required with a simple script |
|
|
Greetings.
I want to write what seems, to me at least, a fairly simple script. However I find the tutorials on the site are way too complex, technical and extensive. This will seem like an excuse but I've tried reading them many times but it still feels like reading Chinese.
In any case, I don't want to derail from the topic at hand. I wanna write a simple script that, when enabled, just copies the value from a static address into many others. And that's it. Single execution; no fanciness.
I tried playing with what I now but I just can't get to copy from address bar to address foo.
What I tried:
Code: | mov [20xxxxxx],[20yyyyyy]
mov [20xxxxxx], 20yyyyyy
mov 20xxxxxx ,[20yyyyyy] |
What should I do?
|
|
Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Sun Feb 26, 2017 8:10 am Post subject: |
|
|
Code: | {$lua}
[ENABLE]
local value = readInteger("source")
writeInteger("destination1", value)
writeInteger("destination2", value)
writeInteger("destination3", value)
[DISABLE] |
|
|
Back to top |
|
 |
LalzDS Newbie cheater
Reputation: 0
Joined: 17 Sep 2013 Posts: 11
|
Posted: Sat Mar 04, 2017 8:13 pm Post subject: |
|
|
Zanzer wrote: | Code: | {$lua}
[ENABLE]
local value = readInteger("source")
writeInteger("destination1", value)
writeInteger("destination2", value)
writeInteger("destination3", value)
[DISABLE] |
|
Exactly what I wanted. You have my most deepest thanks.
|
|
Back to top |
|
 |
|