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.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ Plugins ➜ Is there a way to reset a plugin?

Is there a way to reset a plugin?

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


Posted by Neoshain   (38 posts)  Bio
Date Tue 06 Aug 2013 11:52 PM (UTC)
Message
I have been working on an absolutely massive plugin for my friends on my mud. I have it working the way I want it to, but there is only one problem. If the players need to interrupt the process, (autopiloting to any planet in the galaxy, based on Alias commands, using a series of triggers) then the triggers remain active until they are fired.

This causes a lot of problems. What I have done is very quickly pressed Ctrl+Shift+P then reinstalled the plugin. It solves the problem. However, I don't want my players to have to do this. Is there a script I can use to reset the plugin to it's base form? If so, I'll make an alias "reset plugin" for them to do, until I can take the time to work in an interrupt function in the scripts.
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #1 on Wed 07 Aug 2013 04:53 AM (UTC)
Message
Template:function=ReloadPlugin ReloadPlugin

The documentation for the ReloadPlugin script function is available online. It is also in the MUSHclient help file.



However read the comments about a plugin not being able to reload itself. The suggestion about using a timer might help.

- Nick Gammon

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

Posted by Neoshain   (38 posts)  Bio
Date Reply #2 on Wed 07 Aug 2013 01:35 PM (UTC)
Message
Thank you again! I have trouble finding my way around the website for some reason. I need to bookmark things. It's my fault. Sorry for the trouble.
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.


13,083 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.