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 ➜ Plugins ➜ How do I "communicate" with plugins?

How do I "communicate" with plugins?

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


Posted by Hapax   (6 posts)  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
Top

Posted by Vaejor   (120 posts)  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.
Top

Posted by Nick Gammon   Australia  (23,165 posts)  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
Top

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


18,123 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.