IRC Gateway
PHP Manual

ircg_kick

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

ircg_kick — Kick a user out of a channel on server

Descripción

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

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

Lista de parámetros

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.

Valores retornados

Devuelve TRUE si todo se llevó a cabo correctamente, FALSE en caso de fallo.


IRC Gateway
PHP Manual