When successfully connected to the server (after the numeric reply '376' - "end of MOTD") method is called. This is great for authentication with other bots or network services. Following is an example for QuakeNet's Q service-bot.
Example 3-1. Authenticating with Q
class MyModule extends Wollabot_Module { function MyModule () { $this->bind_onconnect('q_auth'); } function q_auth ($data) { // You should replace wollabot and password with your own username / password $this->privmsg("Q@CServe.quakenet.org", "AUTH wollabot password"); } } $wollabot->register_module("MyModule");