JavaScript Editor Javascript debugger     Website design 


ircg_kick

Kick a user out of a channel on server (PHP 4 >= 4.0.5, PHP 5 <= 5.0.5)
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.