HackBotcpp Class Reference

Our custom bot, called HackBotcpp. More...

List of all members.

Public Member Functions

 HackBotcpp ()
 Default constructor in which we set the name of our bot.
void onMessage (const char *const channel, const char *const sender, const char *const login, const char *const hostname, const char *const message) throw (Exception &)
 We override the onMessage here so that we responde to someone saying "time".


Detailed Description

Our custom bot, called HackBotcpp.

Inherit from PircBot and implement the methods you need to utilize.


Constructor & Destructor Documentation

HackBotcpp  )  [inline]
 

Default constructor in which we set the name of our bot.


Member Function Documentation

void onMessage const char *const   channel,
const char *const   sender,
const char *const   login,
const char *const   hostname,
const char *const   message
throw (Exception &) [inline]
 

We override the onMessage here so that we responde to someone saying "time".

Parameters:
channel The channel to which the message was sent.
sender The nick of the person who sent the message.
login The login of the person who sent the message.
hostname The hostname of the person who sent the message.
message The actual message sent to the channel.
Exceptions:
Exception Inherit from Exception and throw any type of exception you would like.


The documentation for this class was generated from the following file:
Generated on Sun Sep 3 16:43:21 2006 for pircbotcpp by  doxygen 1.4.5