send_action -- Sends an action to a channel or user


void send_action(string target, string message);


Actions is an IRC way of telling what you are doing. An action could be like (depending on the users client):

* madd loves britney

In order to send such one you need to supply a channel or user to send it to in the target parameter. Further more you must include the actual action in the message parameter.

Example 3-1. Getting the bot to indicate it's strong feelings using send_action

$this->send_action("#wollabot", "loves britney");