[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Lua
. . -> [Subject]  Reinstallation of Plugins

Reinstallation of Plugins

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


Posted by Ruckinfok   (7 posts)  [Biography] 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
[Go to top] top

Posted by Nick Gammon   Australia  (22,973 posts)  [Biography] 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
[Go to top] top

Posted by Ruckinfok   (7 posts)  [Biography] 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.
[Go to top] 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,651 views.

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

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

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

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]