The variable you're trying to get must be a global in the other Lua file.
Open up the other file, and look to see if it says local before the name of the variable. If it does, delete the local and rename the variable to something un-commonly used (i.e. capital letters with your addon's name).
When the variable is global, it can be accessed by anyone else.
|