Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.
 Entire forum ➜ MUSHclient ➜ General ➜ How do I reload a plugin from within it?

How do I reload a plugin from within it?

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Sun 15 Jun 2003 12:25 AM (UTC)
Message
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?

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by Nick Gammon   Australia  (23,120 posts)  Bio   Forum Administrator
Date Reply #1 on Mon 16 Jun 2003 03:23 AM (UTC)
Message
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.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Nick Gammon   Australia  (23,120 posts)  Bio   Forum Administrator
Date Reply #2 on Thu 27 May 2004 09:30 PM (UTC)
Message
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.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #3 on Fri 28 May 2004 11:52 AM (UTC)
Message
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.

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


9,836 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.