kick

Name

kick -- Kicks a user (or multiple) from a given channel

Synopsis

void kick(mixed targets, string channel, [ string reason ]);

Description

Depending on whether targets is an array or a string, multiple or single users can be kicked from a given channel with a reason (but not needed - if not specified a default reason saying 'Sod off' will be issued).

Example 3-1. Kick stupiduser from a channel

$this->kick("stupiduser", "#wollabot", "You're stupid");