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

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Plugins
. . -> [Subject]  How do I "communicate" with plugins?
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

How do I "communicate" with plugins?

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


Posted by Hapax   (6 posts)  [Biography] bio
Date Mon 02 Sep 2002 02:55 PM (UTC)
Message
Okay, this is a really, really dumb question about plugins.

I captured the text of a plugin that Mr. Gammon posted to another forum and put it into Notepad. The plugin is an idle-protector, to keep the MUSH from hoofing you off when you have been idle for too long. I saved it with the proper name, and "installed" it with the plugin option from the File menu.

To use the plugin, I am supposed to write something like this:

onidle 25 01 @pemit me=You have been idle 25 minutes.

But... WHERE DO I PUT THAT COMMAND? If I just type it in the window, MUSHclient thinks I want to send it to the world, and obviously the world doesn't know what to do with it. I can't find a place in any menu which allows me to give my plugin arguments to process. What am I missing?

hapax
[Go to top] top

Posted by Vaejor   (120 posts)  [Biography] bio
Date Reply #1 on Mon 02 Sep 2002 03:31 PM (UTC)
Message
Try using

OnIdle .....

<note the caps, they are important>

This should call the MushClient alias correctly.



As a side note, Nick: If MushClient requires following capitalization for aliases, it probably should allow 2 aliases such as:

abc
ABC

Right now it seems to give an error that the alias already exists when you try to enter the second one.
[Go to top] top

Posted by Nick Gammon   Australia  (21,652 posts)  [Biography] bio   Forum Administrator
Date Reply #2 on Tue 03 Sep 2002 04:25 AM (UTC)
Message
Yes, it was OnIdle literally. :)

Quote:

As a side note, Nick: If MushClient requires following capitalization for aliases, it probably should allow 2 aliases such as:

abc
ABC

Right now it seems to give an error that the alias already exists when you try to enter the second one.


Good point. Fixed in 3.27.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Hapax   (6 posts)  [Biography] bio
Date Reply #3 on Tue 03 Sep 2002 06:54 PM (UTC)
Message
It worked! Thanks :)
[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.


5,051 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 FutureQuest]