java.lang.Object
jackbot.plugin.BasicIRCFunctions
- All Implemented Interfaces:
- jackbot.IRCMessageListener
- public class BasicIRCFunctions
- extends java.lang.Object
- implements jackbot.IRCMessageListener
A basic plugin for providing handling very basic IRC functions. Currently,
this handles the PING message, returning the requisite PONG. It also
handles the !quit command, although this will eventually be moved into
a script.
- Version:
- $Revision: 1.4 $ $Date: 2003/01/20 05:14:21 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicIRCFunctions
public BasicIRCFunctions()
- Default constructor. Does nothing.
ircMessageReceived
public void ircMessageReceived(jackbot.IRCMessage msg,
jackbot.EventIRCClient client)
- Handles IRC events from the client.
This currently handles the PING message, and does a special case
PRIVMSG handling for the !quit command, causing the bot to exit.
This !quit handling will eventually be done in a script, and this code
will be removed.
- Specified by:
ircMessageReceived in interface jackbot.IRCMessageListener