Lua
function OnPluginEnable()
Note(GetPluginName() .. " has just been enabled")
end
I found this example (in VBScript, I believe) in the Help file discussion for EnablePlugin. I set one up for OnPluginDisable() too.
What I see is ' has just been enabled'. GetPluginName() is returning "" I believe.
The Help file on GetPluginName says it will return the name of the plugin that is executing.
I know my plugin is executing as I see the note ' has just been enabled' output.
Why does GetPluginName not return the name of my plugin here?
I'm using 4.69 now but noticed it when running 4.67.
function OnPluginEnable()
Note(GetPluginName() .. " has just been enabled")
end
I found this example (in VBScript, I believe) in the Help file discussion for EnablePlugin. I set one up for OnPluginDisable() too.
What I see is ' has just been enabled'. GetPluginName() is returning "" I believe.
The Help file on GetPluginName says it will return the name of the plugin that is executing.
I know my plugin is executing as I see the note ' has just been enabled' output.
Why does GetPluginName not return the name of my plugin here?
I'm using 4.69 now but noticed it when running 4.67.