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 ➜ Suggestions ➜ plugins again...

plugins again...

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


Posted by Shadowfyr   USA  (1,792 posts)  Bio
Date Sat 12 Jun 2004 11:20 PM (UTC)
Message
The last thread on this got derailed, so I am going to try again..

Any reason why you can't provide the following to plugins?

OnWorldGotFocus
OnWorldLostFocus
OnMXPStartup
OnMXPShutdown
OnMXPOpeningTag
OnMXPClosingTag
OnMXPSetVariable
OnMXPError

As I 'tried' to point out, before everyone side tracked the thread into a discussion over editing them, it makes no sense to have to use the main script file for MXP addons that may need to be configured in some cases for a specific world. Not that it wouldn't be nice to also have an "OnMXPRecieved' callback, which would let you process the original tag contents, even if the contents would normally generated an error, as the result of it not being recognized. It just doesn't make sense to me that sound, images, etc., must be handled through the callbacks in the main script, but not in a plugin, where imho something that world specific *should* be dealt with.
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Sun 13 Jun 2004 05:14 AM (UTC)
Message
Try these:


OnPluginGetFocus
OnPluginLoseFocus
OnPluginMXPstart
OnPluginMXPstop
OnPluginMXPopenTag
OnPluginMXPcloseTag
OnPluginMXPsetVariable
OnPluginMXPerror


- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Shadowfyr   USA  (1,792 posts)  Bio
Date Reply #2 on Sun 13 Jun 2004 05:50 AM (UTC)
Message
Hmm.. My help file must be out of date... Didn't realize those existed.
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,701 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.