OverviewExamples
boolean Plugin.IsEnabled ( |
plug1_enabled = Plugin.IsEnabled("Plugin1");
Stores true in a variable named "plug1_enabled" if the "Plugin1" plugin object is enabled, and false if it is disabled.
bPlug2Enabled = Plugin.IsEnabled("Plugin2");
Checks whether the "Plugin2" plugin object is enabled or disabled, and sets the "bPlug2Enabled" variable to either true or false accordingly.
Tip: Starting a variable name with "b" is a technique that programmers use to help themselves remember that a variable contains a boolean value.
See also: Related Actions