Is there a way to reset a plugin?

Posted by Neoshain on Tue 06 Aug 2013 11:52 PM — 3 posts, 17,044 views.

#0
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.
Australia Forum Administrator #1
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.
#2
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.