How do I "communicate" with plugins?

Posted by Hapax on Mon 02 Sep 2002 02:55 PM — 4 posts, 20,590 views.

#0
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
#1
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.
Australia Forum Administrator #2
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.
#3
It worked! Thanks :)