quote:
Originally posted by timbothegreat
I'll simply have to take a different approach regarding the user's ability to quickly enable or disable my script.
Consider that the menu is formed, generally, when the function
onGetScriptMenu is called (when you click on the Plus! icon on the main WLM window and chat windows).
You return the menu then.
So, instead of checkmarks, why not just create the option "dynamically"? I mean this:
If the script is enabled, the menu appears as: "disable". When the script is disabled, the menu can be: "enable". The ID can be written that same way.
And you just handle it with
onEvent_MenuClicked.