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

说明

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

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

参数

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.

返回值

如果成功则返回 TRUE,失败则返回 FALSE


IRC Gateway
PHP Manual