send_privmsg
Name
send_privmsg -- Sends a message to a channel or user (in query)
Synopsis
void send_privmsg
(string target, string message);
Description
This is pretty much the most important method of them all - the one for
sending messages (message)to channels and users.
Supply target with your given target - that is,
the user or the channel. Remember to prefix channels with '#'.
Example 3-1. Send a message using the send_privmsg method
$this->send_privmsg("#wollabot", "Hi - I'm a wollabot :-)");