| View previous topic :: View next topic | |
| Author | Message |
|---|---|
| AnticOwl How do I cheat? Reputation: 0 Joined: 25 Apr 2025 Posts: 2 |
I know it's old but I was looking for suceh stuff.
Currently busy with a small table wher I can modify some character lights. But I want to first save the addresses and their value before any changes. Then write them back when I finish. So, I presume a ReadFromClipboard and a write for evey al.value |
| Back to top | |
| C1aref5 Cheater Reputation: 0 Joined: 20 Feb 2025 Posts: 29 |
Yeah, you can definitely do the reverse. Just read the file line by line and assign each value to your address list entries. Example:
local al = getAddressList() local file = io.open("C:\\path\\to\\values.txt", "r") if file then for i = 0, al.Count - 1 do local val = file:read("*l") if not val then break end al[i].Value = val end file:close() end That値l load values from the text file (top to bottom) into your address list. |
| Back to top | |