Kind of a continuation of my last thread, but, this might make it easier to search for for people later. 
I am attempting to compile a string of all currently enabled plugins, disable all of them, run my plugin, then re-enable ONLY the plugins that I previously disabled.
I looked into only disabling one plugin at a time, but the API listing @ PluginManager Class and through the object browser does not list a one-by-one basis.
I have attached my code for a full review, but, the issues in question are at lines 209 - 213 in Movement.cs
[HIDE]
[/HIDE]
and at lines 273 - 274 in Movement.cs.
[HIDE]
[/HIDE]
What I am missing, is why I cannot take the var enabledPlugins @ line 209 and call it from 274. I assumed that GetEnabledPlugins() put them into a list called enabledPlugins?
Am I just trying to declare and pass the value wrong, or, do I need to set up the variable elsewhere? I'm not really sure.
Thank you for your help!

I am attempting to compile a string of all currently enabled plugins, disable all of them, run my plugin, then re-enable ONLY the plugins that I previously disabled.
I looked into only disabling one plugin at a time, but the API listing @ PluginManager Class and through the object browser does not list a one-by-one basis.
I have attached my code for a full review, but, the issues in question are at lines 209 - 213 in Movement.cs
[HIDE]
Code:
foreach (var enabledPlugins in PluginManager.GetEnabledPlugins())
{
Logging.Write("[RetBot] Plugins Enabled: " + enabledPlugins);
PluginManager.ShutdownAllPlugins();
}
and at lines 273 - 274 in Movement.cs.
[HIDE]
Code:
Logging.Write("RetBot Tasking Completed. Releasing control!");
PluginManager.SetEnabledPlugins(plugins: enabledPlugins);
What I am missing, is why I cannot take the var enabledPlugins @ line 209 and call it from 274. I assumed that GetEnabledPlugins() put them into a list called enabledPlugins?
Am I just trying to declare and pass the value wrong, or, do I need to set up the variable elsewhere? I'm not really sure.

Thank you for your help!