Forum und email

ircg_kick

(PHP 4 >= 4.0.5, PHP 5 <= 5.0.5)

ircg_kick — Kick a user out of a channel on server

Description

bool ircg_kick ( resource $connection , string $channel , string $nick , string $reason )

Kick user nick from channel on server connected to by connection .

Parameters

connection

A connection resource handle returned by ircg_pconnect().

channel

The channel name as #name.

nick

The user to be kicked.

reason

reason should give a short message describing why this action was performed.

Return Values

Returns TRUE on success or FALSE on failure.