I need a way to reload a plugin by scripts (i.e. allow a plugin to reload itself). I looked around in the plugin help but I couldn't find anything. Is there a way to do that?
How do I reload a plugin from within it?
Posted by Poromenos on Sun 15 Jun 2003 12:25 AM — 4 posts, 14,328 views.
There isn't - I was reluctant to have a plugin "object" disappear whilst it was in use, thus plugins can't delete or reload themselves.
Version 3.50 has a ReloadPlugin script call. You can use that to reload a plugin, however for the reason given above it cannot reload itself.
If you want to do that, you can always use DoAfterSpecial to reload it after a second's pause.
If you want to do that, you can always use DoAfterSpecial to reload it after a second's pause.
Wow, I don't even remember posting this :p The new function is very handy for making an alias to reload plugins, instead of going to the screen, selecting, reloading... Very useful.