"DTD/xhtml1-strict.dtd">
class to manage multiple plugins and delegate messages to them for handling
bot: | associated IrcBot class
|
dirlist: | array of directories to scan (in order) for plugins
|
create a new plugin handler, scanning for plugins in dirlist
access to list of plugins
load plugins from pre-assigned list of directories
call the save method for each active plugin
call the cleanup method for each active plugin
drop all plugins and rescan plugins on disk calls save and cleanup for each
plugin before dropping them
return list of help topics (plugin names)
return help for topic (call associated plugin's help method)
see if each plugin handles method, and if so, call it, passing
message as a parameter
see if we have a plugin that wants to handle this message, if so, pass it
to the plugin and return true, otherwise false
|