Hi,
currently the SmarterAutoloot variable is a local one, but when I change this I get an error in the SmarterAutoLoot_Startup function. You can find the complete Addon here
http://www.hortien.com/upload/SmarterAutoloot.zip.
I haven't written this code, I only try to make it more usable. No other of my addon have this _Startup function, so it seems something unique.
Many thanks
Askedal