So I had an idea to create a new WoWaddon, one that scans the AH, but only a specific list of items, and then stores the data somewhere.
This is the code for the scanning function I have (this is very early, just a test to see if I'm reading a text file (my future list of items) correctly): file = io.open("testread.txt","r"); messageline = file:read(); file:close(); message(messageline)
I'm getting the error message "attempt to index global 'io' (a nil value)" I have a feeling this is because io.open is disabled for WoW....but i'm not sure.
Any help about how to read a text file would be greatly appreciated
Blizzard saves the variables that you specify in the .toc file. You can specify that some are per-character, and some are global. Those get read when you login, and written when you logout.