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


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Plugins
. . -> [Subject]  Please explain plugins

Please explain plugins

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


Posted by Thebloodsiren   (13 posts)  [Biography] bio
Date Fri 12 Jul 2002 01:56 AM (UTC)
Message
Call me stupid, and I havent been reading up on the whole plugin thing. But can someone explain a few things.

What are plugins? What are they used for?

Can someone give a very basic example. Say where it will implement an alias called food, that expands to eat foot.

Ta.

-----------------------------------
Calm down, its only ones and zeros.
[Go to top] top

Posted by Magnum   Canada  (580 posts)  [Biography] bio
Date Reply #1 on Fri 12 Jul 2002 02:51 AM (UTC)
Message
Plugins, for the most part, are a collection of aliases, triggers, timers, variables and scripts. A plugin does not have to include all of those elements. A plugin could concievably contain just one single alias or script routine.

Personally, I feel that tiny plugins with only one element in them are a bit of a waste of resources, since MUSHclient allocates a certain sized block of memory for each plugin.

A perfect example would be the "Code Cracker" aliases and script I just wrote in another thread. Two aliases, one trigger, and a few subroutines would make a nice small plugin, with just a few modifications to those elements (as they are now) to make them into their own stand-alone plugin.

(The other thread:)
http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=1494&page=999999

Once the plugin is written, it becomes very easy to distribute. For example, if the above example of the Code Cracker stuff was turned into a plugin, then you could use the code yourself simply by downloading the file then selecting "File, Plugins, Add" from the MUSHclient menu. Viola! You could use the aliases and script, and you didn't really have to do any work!

This plugin idea is a new concept being incorporated into MUSHclient. As of this writing, only the latest Beta version of MUSHclient has the feature built in, and only a few select people have access to this new version. In other words, the "plugin" concept is still evolving, and may go through a few growing pains before it becomes a stable and viable method of sharing aliases/triggers/script between mud players who use this client.

Get my plugins here: http://www.magnumsworld.com/muds/

Constantly proving I don't know what I am doing...
Magnum.
[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.


11,723 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]