changes in base and plugins

added mode-functions to base
added mode-commands to general-plugin
added action-function to irc-plugin