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
➜ Use World Events in Plugin
|
Use World Events in Plugin
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Malur
(4 posts) Bio
|
| Date
| Sat 02 Jan 2010 03:41 AM (UTC) |
| Message
| | I've been looking around and I can't seem to find any information on how to set world events in plugins to work with the script. I need to be able to use Close, Disconnect, and Save to save long term information. What would enable me to accomplish this? | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Sat 02 Jan 2010 03:42 AM (UTC) |
| Message
| |
| Posted by
| Twisol
USA (2,257 posts) Bio
|
| Date
| Reply #2 on Sat 02 Jan 2010 04:29 AM (UTC) Amended on Sat 02 Jan 2010 04:31 AM (UTC) by Twisol
|
| Message
| You can set a small subset of analogous OnPlugin* handlers in the World Configuration -> Scripting dialog, I believe; just type in the name of the method to call when one of these events occurs into the appropriate field.
More arcane handlers like OnPluginBroadcast and the like won't be accessible without more "interesting" scripting (likely involving a forwarding plugin that somehow forwards all of its events to the world script).
EDIT: I completely misunderstood your question, and I think I actually got it completely turned 180 degrees. Please disregard! |
'Soludra' on Achaea
Blog: http://jonathan.com/
GitHub: http://github.com/Twisol | | 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.
15,244 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top