I have a hard time figuring this one out. I am new to Lua.
Basically I have found a base pointer in Cheat Engine. Now I would like use Lua, to print the history of how base pointer's value changes over time.
For example when I start the script, and the base pointer value is 55555, then Lua prints for example into notepad.exe
55555
when it changes to 66666, it breaks the line and prints 66666, so it looks like
55555
66666
Any idea on how to achieve it?