JavaScript Editor Javascript debugger     Website design 

ircg_invite

Invites nickname to channel (PHP 4 >= 4.3.3, PHP 5 <= 5.0.5)
bool ircg_invite ( resource connection, string channel, string nickname )

ircg_invite() will send an invitation to the user nickname, prompting him to join the given channel.

Parameters

connection

A connection resource handle returned by ircg_pconnect().

channel

The channel name as #name.

nickname

The user nick name.

Return Values

Returns TRUE on success or FALSE on failure.