If you want to generate a list of names for your own use that will exist when you next log in then that should be possible using the WTF files I mentioned to store data in. It will automatically be loaded the next time you run wow with that addon enabled.
When you mentioned live I thought you meant that you wanted the addon to stay running. Unfortunately that isn't possible.
Have a look at wowwiki for SavedVariables and you should find a nice tutorial on how they work. It was where I started out from.
|