IRC Gateway
PHP Manual

ircg_invite

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

ircg_invite — Invites nickname to channel

说明

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 .

参数

connection

A connection resource handle returned by ircg_pconnect().

channel

The channel name as #name.

nickname

The user nick name.

返回值

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


IRC Gateway
PHP Manual