Thanks for the advice. It's good. I've been trying to do that, but I keep getting:
Code:
EsoUI/Libraries/Utility/ZO_Hook.lua:33: function expected instead of nil
stack traceback:
EsoUI/Libraries/Utility/ZO_Hook.lua:33: in function '(anonymous)'
Is it outdated? Am I missing some Lua fundamental? I come from Python or JS. I can't tell what exactly is nil. I've avoided any undefined variables or functions, the order of definitions. And everything works fine when I comment out:
Code:
LAM:RegisterAddonPanel("Junkee", panelData)
LAM:RegisterOptionControls("Junkee", optionsTable)