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 ➜ Lua ➜ Reinstallation of Plugins

Reinstallation of Plugins

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


Posted by Ruckinfok   (7 posts)  Bio
Date Sun 13 Feb 2011 05:32 PM (UTC)
Message
Hi Everyone,

I'm very new to plugins and scripting. I have started using the plugin wizard to make my own from sets of triggers I made, and I am using a few that were made by other people who play my MUD.

I am trying to set something up so I can quickly reinstall all my plugins with an alias. Do I make a script file, or do I make a plugin with a script in it? If I make a plugin with a script in it, do I also need to make a script file? If I make a script file instead of a plugin, can I share it with others?

I would like to use the function GetPluginList to see what's installed and then ReloadPlugin them.

Sorry if this information is found elsewhere, I had trouble finding it.

-Ruckinfok
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Sun 13 Feb 2011 09:12 PM (UTC)
Message
I made a "reload plugin" alias:

http://gammon.com.au/forum/?id=9615

That does one, but you could extend it to do more.

Also see this:

http://gammon.com.au/forum/?id=8767

That describes a plugin that automatically loads all plugins in a subdirectory.

- Nick Gammon

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

Posted by Ruckinfok   (7 posts)  Bio
Date Reply #2 on Mon 14 Feb 2011 04:02 AM (UTC)
Message
Wow, thank you so much, this worked flawlessly! Sorry I couldn't find that myself.
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.


14,668 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.