IRC Gateway
PHP Manual

ircg_topic

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

ircg_topic — Set topic for channel on server

说明

bool ircg_topic ( resource $connection , string $channel , string $new_topic )

Change the topic for the channel .

参数

connection

A connection resource handle returned by ircg_pconnect().

channel

The channel name as #name.

new_topic

The new topic to be set.

返回值

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


IRC Gateway
PHP Manual