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

설명

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를 반환합니다.