UnloadScriptState doesn't unload a plugin, it unloads that state. Bad explanation, but I am tired.
If in your .plugin you include the line <Configuration Apartment="Whatever" /> then Turbine.PluginManager.UnloadScriptState("Whatever" ) will unload all plugins in that apartment.
__________________
************************************************** ************************************************** **
"Our ideals may never be realised, But they indicate what we are trying to do." Dick Tahta
|