It's an awsome script but what about adding this to the end of Enhancer.js so that you don't have to reload the script so ofter, it will do it for you.
code:
function OnEvent_ChatWndCreated(ChatWnd)
{
DllPlugin_Unload(plugin);
DllPlugin_Load(plugin);
}
function OnEvent_ContactListWndCreated()
{
DllPlugin_Unload(plugin);
DllPlugin_Load(plugin);
}
I realise this makes all the windows flash whenever you open a new chat or the contact list but it would save having to reload the script every time you do one of these. Apart from this I really like the script and most certainly will enjoy using it
Edit: There might be some other things that need to reload the plugin to be able to use the functions of the script but these were the ones that concerned me so I only did them
You also might want to use a try catch if the preference exists or not rather than having the script reload all the time even if that preference is not in use.