Forum und email

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.

Return值

如果成功則回傳 TRUE,失敗則回傳 FALSE