Use World Events in Plugin

Posted by Malur on Sat 02 Jan 2010 03:41 AM — 3 posts, 15,949 views.

#0
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?
Australia Forum Administrator #1
See here:

http://www.gammon.com.au/scripts/doc.php?general=plugin_callbacks
USA #2
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!